Don't Send replies to noreply@
Posted: 10 Oct 2021 11:18
Hi,
I have an issue, that I want to try and get rid of.
Someone has signed up to a mailing list, and subsequently moved on. we get emails to them sent from a noreply@mailinglist.com
and the NDR for these get stuck in our outgoing queue.
So i'd like to be able to create a rule that says any email to:noreply@* discard
I have tried in header checks (using Regex: /^To: noreply@\ / DISCARD)
and also created a recipient_block in /etc/postfix and mapped it to the relevant part of main.cf
The odd bit is when i test it the noreply address i am using to test receives emails saying "failed"
Has anyone managed to do this, or anything similar
I am working on the theory that anyone using an address that starts no reply doesn't want to get emails to it.
Thanks in advance
Frank
I have an issue, that I want to try and get rid of.
Someone has signed up to a mailing list, and subsequently moved on. we get emails to them sent from a noreply@mailinglist.com
and the NDR for these get stuck in our outgoing queue.
So i'd like to be able to create a rule that says any email to:noreply@* discard
I have tried in header checks (using Regex: /^To: noreply@\ / DISCARD)
and also created a recipient_block in /etc/postfix and mapped it to the relevant part of main.cf
The odd bit is when i test it the noreply address i am using to test receives emails saying "failed"
Has anyone managed to do this, or anything similar
I am working on the theory that anyone using an address that starts no reply doesn't want to get emails to it.
Thanks in advance
Frank