Howto change email header in emails send from PHP

António P. P. Almeida appa at
Fri Sep 24 18:27:55 MSD 2010

On 24 Set 2010 15h09 WEST, fandaremail at wrote:

> The problem is, that nginx is running under nginx user, so the email
> address is nginx at, but how can I change it to
> no-reply at ?

Create an alias for your MTA.: man 5 aliases 

For example:

echo 'nginx: no-reply at' >> /etc/aliases

Reload MTA. Done.

--- appa

More information about the nginx mailing list