[EMAIL PROTECTED] wrote:
From http://jimsun.linxnet.com/misc/postfix-anti-UCE.txt
"OK" stops processing of an access list and the restriction stage
        that contains it.  Processing resumes with the next restriction
        stage (if any).

Situation
----------------------------
smtpd_restriction_classes = check_recipient_class
check_recipient_class = check_recipient_access 
hash:/etc/postfix/maps/check_recipient,

hash:/etc/postfix/maps/check_sender:
  mail.ru  DUNNO
  yandex.ru  DUNNO
  google.com check_recipient
  yahoo.com OK

hash:/etc/postfix/maps/check_recipient:
  [EMAIL PROTECTED] OK
  [EMAIL PROTECTED] REJECT

smtpd_recipient_restrictions =
  <first sender restriction>,
  check_sender_access hash:/etc/postfix/maps/check_sender,
  <third sender restriction>
----------------------------

So [EMAIL PROTECTED] OK stops entire `smtpd_recipient_restrictions` (<third sender 
restriction> will not be
processed) or "google.com check_recipient" only (so next is `yahoo.com OK` and then 
<third sender restriction>)?


yes. Ok passes the mail. no more checks in the same smtpd_mumble_restrictions. restriction classes are only a way to group multiple checks.

Reply via email to