Hi,

We have some rules to drop emails sent to certain recipients.

main.cf:
smtpd_recipient_restrictions = check_recipient_access
regexp:/etc/postfix/custom_recipient_blacklist_regex

custom_recipient_blacklist_regex:
/^du...@whatever.fqdn$/ discard


The problem is when an email has more recipients and any of those
matches this rule the whole email is discarded.

Is there a better way to let the other recipients get the emails and
only drop the blacklisted one?


Thank you!

Reply via email to