Block Emails Exim Filter
Hello,
I want to block all the email send by a specific website, because all is spam..
The email is like userInCpanel@MainNamehost.com
I make the following filter: Exim Configuration Manager--> Filters:
But it's not working ... Emails already are sended ... How can I check the custom filters are working correcty ?? Thank you
if first_delivery
and ("$h_from:" contains "userInCpanel@MainNamehost.com")
then
headers add "Old-Subject: $h_subject:"
headers remove "Subject"
headers add "Subject: SpamRule: EXIM FILTER userInCpane Block Unwanted Domains (was: $h_old-subject:)"
headers remove "Old-Subject"
deliver "spam@Mainhost.com"
endif
But it's not working ... Emails already are sended ... How can I check the custom filters are working correcty ?? Thank you
-
Hi @diracuser Is this mail being sent from your server? Ultimately the best course of action, if that's the case, is to resolve the spam issue. 0 -
Hi @cPanelLauren, yes the email is sent by my server ... I created a custom global filter, but it seems that is not working correcty and I don't know why ... Any Ideas ? Thank you 0 -
How many emails is the domain sending? Maybe until you find an answer to your rule, you could slow him down. Change 'Maximum Hourly Email by Domain Relayed' in Modify Account 0
Please sign in to leave a comment.
Comments
3 comments