Howto change email header in emails send from PHP
António P. P. Almeida
appa at perusio.net
Fri Sep 24 18:27:55 MSD 2010
On 24 Set 2010 15h09 WEST, fandaremail at gmail.com wrote:
> The problem is, that nginx is running under nginx user, so the email
> address is nginx at mydomain.com, but how can I change it to
> no-reply at mydomain.com ?
Create an alias for your MTA.: man 5 aliases
echo 'nginx: no-reply at mydomain.com' >> /etc/aliases
Reload MTA. Done.
More information about the nginx