On Fri, Aug 14, 2020 at 05:41:38PM -0400, Greg Klanderman wrote:

> smtpd_relay_restrictions is documented as being checked before
> smtpd_recipient_restrictions,

This is of those rare cases where the documentation is now in error.  In
order to improve backwards compatibility with postfix prior to 2.10, the
order of evaluation was changed in postfix-3.3-20180106 to evaluate the
recipient restrictions first.

This should perhaps be configurable, so that if one has correctly set up
the relay restrictions, they would be evaluated first as expected and
currently documented...

-- 
    Viktor.

Reply via email to