Mayuresh: > Sure. Basically I see only one hash in your snippet - that of the > protected destinations. I did not notice a hash of senders allowed to send > to the protected destinations. Am I missing something?
Original example: /etc/postfix/main.cf: smtpd_recipient_restrictions = ... check_recipient_access hash:/etc/postfix/protected_destinations ...the usual stuff... smtpd_restriction_classes = insiders_only insiders_only = check_sender_access hash:/etc/postfix/insiders, reject /etc/postfix/protected_destinations: all@my.domain insiders_only all@my.hostname insiders_only /etc/postfix/insiders: my.domain OK matches my.domain and subdomains another.domain OK matches another.domain and subdomains Look, two hash maps! All I suggested was to split smtpd_recipient_restrictions and use smtpd_relay_restrictions for the spam blocks. That was, TO SPLIT smtpd_recipient_restrictions, NOT TO REMOVE the hash maps. Wietse