WebFaction
Community site: login faq

.. just in case if someone else had the some problem with mail() and php-fpm.

Recently I switched from apache 2.2 / fastcgi to php-fpm for php5.6 (first also on apache 2.4 and now latest nginx) for my drupal8 website.

I notice that sending mails (without an extra smtp authentication module for my drupal) was not possible, but sending mails from php cli works flawless.

In the end webfaction support told me, that with my apache/nginx & php-fpm "the username that should be passed to the sendmail binary is missing." They're now trying to find an proper solution.

In the meantime I experimented a bit and compiled my own MTA (very simple stuff: ssmtp), and voila it works :) Here are my steps what I did on my webfaction account: https://www.heavy.ch/wiki/ssmtp.

This question is marked "community wiki".

asked 21 Nov '15, 00:20

marcel
671717
accept rate: 0%


Then try with html or drag & drop template

permanent link

answered 22 Nov '15, 20:06

hrkhan
111
accept rate: 0%

You did not understand my problem. I couldn't send emails over my own php-fpm stack, but compiling my own ssmtp worked :-)

(03 Nov '16, 20:32) marcel
Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×263
×42
×6

question asked: 21 Nov '15, 00:20

question was seen: 4,306 times

last updated: 03 Nov '16, 20:32

WEBFACTION
REACH US
SUPPORT
AFFILIATE PROGRAM
LEGAL
© COPYRIGHT 2003-2020 SWARMA LIMITED - WEBFACTION IS A SERVICE OF SWARMA LIMITED
REGISTERED IN ENGLAND AND WALES 5729350 - VAT REGISTRATION NUMBER 877397162
5TH FLOOR, THE OLD VINYL FACTORY, HAYES, UB3 1HA, UNITED KINGDOM