Skip to content

Instantly share code, notes, and snippets.

@vanthome
Created March 18, 2013 09:58
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save vanthome/5186098 to your computer and use it in GitHub Desktop.
Save vanthome/5186098 to your computer and use it in GitHub Desktop.
Consider smtpd_recipient_restrictions when upgrading to Postfix 3.10.0 MTA
If you run a postfix MTA and find yourself unable to send mails from external eMail Clients like thunderbird, kmail etc.
And you see something like this in the logs:
postfix/smtpd[42360]: Anonymous TLS connection established ...
postfix/smtpd[42360]: NOQUEUE: reject: RCPT from xxx: 554 5.7.1 <mail@host.com>: Relay access denied; from=<mail@hos.com> to=<mail@host.com> proto=ESMTP helo=<[xxx]>
Then you should consider the newly introduced smtpd_relay_restrictions option as described here:
http://postfix.1071664.n5.nabble.com/smtpd-relay-restrictions-ready-for-general-use-td51323.html
I've simply fixed it my the first suggestion:
- Set smtpd_relay_restrictions empty, and keep using the existing
mail relay authorization policy in smtpd_recipient_restrictions.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment