is "OK" stops processing user defined lists (classes) only or entire smtpd_..._restriction?

2008-10-07 Thread sftf
>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_recip

how to specify any/catch_all domain/email in HASH access map?

2008-10-07 Thread sftf
For example in this hash I wanna OK for all domains except mail.ru and yandex.ru: hash:/etc/postfix/maps/check_sender: mail.ru REJECT yandex.ru REJECT OK So what I must write insteed of ? Maybe . (single point)? Thanks.

Re[2]: how to specify any/catch_all domain/email in HASH access map?

2008-10-08 Thread sftf
Actually I wanna selective rbl checks. smtpd_restriction_classes = rbl_check_class rbl_check_class = reject_rbl_client dnsbl.sorbs.net, reject_rbl_client list.dsbl.org, reject_rbl_client mail-abuse.blacklist.jippg.org, hash:/etc/postfix/maps/check_client: mail.ru DUNNO yandex.ru

how to specify any/catch_all domain/email in HASH access map?

2008-10-09 Thread sftf
How to implement logic like below in one HASH map? pcre:/etc/postfix/maps/check_client: /mail\.ru/ DUNNO /yandex\.ru/ DUNNO /.*/ goto_check_class Thanks.