Hey! I finally installed a postfix mail server this past weekend. Pretty straightforward with the awesome docs! Well, once ya find it all ;-)
In my config, I declared smtpd_sender_restrictions=check_recipient_access,hash:/etc/postfix/lists/traps with entries in "/etc/postfix/lists/traps", b...@domain.com DISCARD Mail sent to that address appears to be accepted, but really gets quietly DISCARDed, and processing stops. Like it's supposed to. If there are additional recipients in the TO: list that are not in the hash list, they still are delivered. So if there's a mail sent TO: both "b...@domain.com" and "m...@domain.com" one copy gets accepted for the "m...@domain.com" recipient. I want to change the behavior so if ANY of the TO: recipient addresses are in the hash table the mail is discarded for ALL the recipients, accpeted & delivered for noone. With all the flexibility it's gotta be possible. I just can't find the right topic on the docs for it though. Got a suggestion for me how to get this done? Cheers, Niemh