Thursday, January 24, 2013

Postfix masquerading

vim /etc/postfix/main.cf

Append:
smtp_generic_maps = hash:/etc/postfix/generic

vim /etc/postfix/generic

Append:

apache@localhost.localdomain no-reply@something.com
root@localhost.localdomain no-reply@something.com


postmap /etc/postfix/generic

service postfix restart

No comments:

Post a Comment