Hello, Sarah.
Would you be kind to tell how to add a rule server wide to not send emails to addresses that are noreplay@anydomain.clt ?
Thanks,
Sergio
How train MailScanner to not send emails to noreply addresses?
Re: How train MailScanner to not send emails to noreply addresses?
Does blacklisting "To: noreply\@*" (without the quotes) in MailScanner not work? Or, an exim filter rule to drop them?
Re: How train MailScanner to not send emails to noreply addresses?
i don't want to blacklist any "noreplay@" address, what I want is not to send an automatic replay to any "noreplay@", both are different situations.
Thanks for your help.
Sergio
Thanks for your help.
Sergio
Re: How train MailScanner to not send emails to noreply addresses?
I'm not aware of any way to do what you are asking in the MailScanner configuration. You'd probably have to write an exim rule.
Re: How train MailScanner to not send emails to noreply addresses?
That's true. I take it this is for auto-responders? If so, something like this in your exim filter file should stop automatic replies to any noreply@ address.
Code: Select all
if $reply_address contains "noreply@"
then
seen finish
endif
"seen finish" makes sure the automatic reply is never sent and halts any further actions on it.
Hope the above helps.
Re: How train MailScanner to not send emails to noreply addresses?
Thanks, csfan.
I am asking for a rule for MailScanner, something like:
To: noreply@* and From: *@* no
So, I don't have to mess with exim.
MailScanner rules are easier to manage and can be copied on all my servers.
Maybe adding that rule under spam.blacklist.rules?
Sergio
I am asking for a rule for MailScanner, something like:
To: noreply@* and From: *@* no
So, I don't have to mess with exim.
MailScanner rules are easier to manage and can be copied on all my servers.
Maybe adding that rule under spam.blacklist.rules?
Sergio
Re: How train MailScanner to not send emails to noreply addresses?
That should work fine. Although, you would want "yes" as the desired action, so that MailScanner can get the message blacklisted.
You could even probably omit the From: bit, as the To: header is what matters in this case.
Re: How train MailScanner to not send emails to noreply addresses?
I will give it a try, thanks.
I will add:
To: noreplay@* no
Sergio
I will add:
To: noreplay@* no
Sergio
Re: How train MailScanner to not send emails to noreply addresses?
You will need "yes" as the action so as to blacklist any emails where the To: header contains noreply@.
Code: Select all
To: noreply@* yes