António P. P. Almeida
September 24, 2010 10:34AM
On 24 Set 2010 15h09 WEST, fandaremail@gmail.com wrote:

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

Create an alias for your MTA.: man 5 aliases

For example:

echo 'nginx: no-reply@mydomain.com' >> /etc/aliases

Reload MTA. Done.

--- appa



_______________________________________________
nginx mailing list
nginx@nginx.org
http://nginx.org/mailman/listinfo/nginx
Subject Author Posted

Howto change email header in emails send from PHP

Frank R. September 24, 2010 05:10AM

Re: Howto change email header in emails send from PHP

bvidinli September 24, 2010 05:26AM

Re: Howto change email header in emails send from PHP

Frank R. September 24, 2010 05:52AM

Re: Howto change email header in emails send from PHP

bvidinli September 24, 2010 08:24AM

Re: Howto change email header in emails send from PHP

Frank R. September 24, 2010 10:20AM

Re: Howto change email header in emails send from PHP

António P. P. Almeida September 24, 2010 10:34AM

Re: Howto change email header in emails send from PHP

Maxim Dounin September 24, 2010 07:08AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 173
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready