Moving from a pre-v2.10 to post-v2.10 environment, I'd like make sure I
understand the meaning/context of smtpd_relay_restrictions.  Can someone
give me a sanity check?

http://www.postfix.org/postconf.5.html#smtpd_relay_restrictions says:

"By default, the Postfix SMTP server accepts:
* Mail from clients whose IP address matches $mynetworks, or: 
* Mail to remote destinations that match $relay_domains, except for
addresses that contain sender-specified routing (user@elsewhere@domain), or:

* Mail to local destinations that match $inet_interfaces or
$proxy_interfaces, $mydestination, $virtual_alias_domains, or
$virtual_mailbox_domains."

So, does smtpd_relay_restrictions apply to everything else?  That is, all
other mail that does not meet those three requirements?

Also, shouldn't the first condition be:
"* Mail from clients whose IP address matches $mynetworks, or from SASL
authenticated clients, or:"
... given that the default config for smtpd_relay_restrictions is:
permit_mynetworks, permit_sasl_authenticated, defer_unauth_destination?

Thanks,
Michael


Reply via email to