DescriptionNoissue - Remove faulty postconf custom configuration
Due to us configuring the mydestination field, postfix was unable to recognize
mails coming from local accounts, resulting in it trying to send replies (for
example for bounced emails) to the external IP of the account.
Consider the old configuration (before this commit):
root@acceptableads-com-1 ~ # postconf | grep 'mydestination ='
mydestination = localhost.localdomain, localhost
In the above configuration, we are missing the domain
"acceptableads-com-1.adblockplus.org", because emails from nginx will be sent
from nginx@acceptableads-com-1.adblockplus.org.
The default configuration (which we override) includes the domain:
root@acceptableads-com-1 ~ # postconf -d | grep 'mydestination ='
mydestination = $myhostname, localhost.$mydomain, localhost
root@acceptableads-com-1 ~ # postconf -d | grep 'myhostname ='
myhostname = acceptableads-com-1.adblockplus.org
By removing the configuration line, we ensure that postfix recognizes emails
like the one from nginx above as being from local accounts.
See http://hub.eyeo.com/issues/1487#note-2
Patch Set 1 #
MessagesTotal messages: 2
|