Sending mail via PHP gives fatal error in postfix

smares asked:

Any idea why sending mail via PHPs mail() function gives the following error in postfix:

fatal: no login name found for user ID 6000.

6000 in this case is the user I have configured in the PHP-FPM pool and it’s not an existing Linux user account.

My answer:

You didn’t create a user with the uid 6000. Once you do that, postfix will begin servicing the user.

View the full question and any other answers on Server Fault.

Creative Commons License
This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 Unported License.