Please do not top post: http://en.wikipedia.org/wiki/Posting_style http://www.caliburn.nl/topposting.html http://mailformat.dan.info/quoting/top-posting.html
[EMAIL PROTECTED] wrote:
Actually I wanna selective rbl checks.
- doctor, I want meds for my stomatch - take this, that, ... - oh actually, it's not for my stomach, it's for my head. if you want help, don't lie.
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 DUNNO <all other> rbl_check_class so mail.ru, yandex.ru go to next checks without checks against RBL's, but all others - with RBL's checks.
there is no "fallback" mechanism in hash (except for transport_maps). use pcre as suggested before
/mail\.ru$/ DUNNO /\.mail\.ru$/ DUNNO ... /./ rbl_check_class