Hi all
i'm finding lots of spam getting thru on my server . even more getting stopped so i'm half way there.
i also have configserver mailscanner setup ..
nearly all the main spam now that gets thru has no reverse DNS by the looks of it. or at least that is what i see in mailwatch.
so i'd like to refuse connections to exim for inbound mail if there is no reverse dns for the sender it as that seems like it could reduce server load also..
i'd considered just loading the score a bit more in mailscanner for this however as far as the spammers are concerned it has been delivered as they do not see it not getting delivered.
therefor the most useful way to combat it would be just to refuse there connection at the start.
i've read on an article suggestign i add the below to exim (http://www.pasztor.at/2013/01/07/filtering-spam-with-exim-only/)
rules in the RCPT ACL.
this will according to the article refuse there connection .
I'm not to sure where to add this though ..
looked in Service Configuration » Exim Configuration Manager
and then advanced .. but seeking advice as do not want to break anything lol
i'm finding lots of spam getting thru on my server . even more getting stopped so i'm half way there.
i also have configserver mailscanner setup ..
nearly all the main spam now that gets thru has no reverse DNS by the looks of it. or at least that is what i see in mailwatch.
so i'd like to refuse connections to exim for inbound mail if there is no reverse dns for the sender it as that seems like it could reduce server load also..
i'd considered just loading the score a bit more in mailscanner for this however as far as the spammers are concerned it has been delivered as they do not see it not getting delivered.
therefor the most useful way to combat it would be just to refuse there connection at the start.
i've read on an article suggestign i add the below to exim (http://www.pasztor.at/2013/01/07/filtering-spam-with-exim-only/)
rules in the RCPT ACL.
Code:
drop message = Client Policy Restriction: No (consistent) reverse DNS set.
condition = ${if !def:sender_host_name}
drop message = Client Policy Restriction: No (consistent) reverse DNS set.
condition = ${if isip{$sender_host_name} {yes}{no}}
drop message = Client Policy Restriction: No (consistent) reverse DNS set.
condition = ${if eq{$sender_host_name}{} {yes}{no}}
drop message = Client Policy Restriction: No (consistent) reverse DNS set.
!verify = reverse_host_lookup
I'm not to sure where to add this though ..
looked in Service Configuration » Exim Configuration Manager
and then advanced .. but seeking advice as do not want to break anything lol