Blacklist single recipient
Posted: 09 Jan 2022 22:46
Hi,
I have a single recipient address "user-alias@mydomain.com" that I want EFA to reject prior to delivery, ideally during the SMTP transaction. It's an internal email address that is used for reporting and for sending but I do not want any inbound mail to pass EFA or reach the mail systems behind it. I've read a few things and attempted several ways to achieve this but none seem to work.
I know that Mailscanner wildcards aren't an option, so I also looked at the spamassassin blacklist_to approach. Adding the recipient in local.cf seemed to have no effect.
Can anyone offer advice or a definitive solution to this specific problem?
Thanks,
JS
I have a single recipient address "user-alias@mydomain.com" that I want EFA to reject prior to delivery, ideally during the SMTP transaction. It's an internal email address that is used for reporting and for sending but I do not want any inbound mail to pass EFA or reach the mail systems behind it. I've read a few things and attempted several ways to achieve this but none seem to work.
I know that Mailscanner wildcards aren't an option, so I also looked at the spamassassin blacklist_to approach. Adding the recipient in local.cf seemed to have no effect.
Can anyone offer advice or a definitive solution to this specific problem?
Thanks,
JS