Am 06.02.2015 um 14:43 schrieb Charles Marcus:
Well... ok, so now I just have to figure out what I'm missing/doing wrong.
Hmmm... ok, just moved it from smtpd_relay_restrictions to
submission_client_restrictions and it works now...
But it still looks to me like it should have worked when called from
smtpd_relay_restrictions, or even smtpd_recipient_restrictions...
it's simple
* if there is any permit in front - well....
* if you are using specific "submission_client_restrictions"
and have placed the access table in front of any permit it
works
in that context postfix is dead-simple
the first action stops the rest inside of the restricition list, no
matter if it is OK or REJECT and so if you have permit-rules like
mynetworks or sasl-authenticated in front your access table is never
called at all
the same if you have a OK somewhere but another rule before says REJECT