Re: [Exim] Inbound Hosts without valid rDNS

Αρχική Σελίδα
Delete this message
Reply to this message
Συντάκτης: Marc Perkel
Ημερομηνία:  
Προς: Kevin Reed
Υ/ο: exim-users
Αντικείμενο: Re: [Exim] Inbound Hosts without valid rDNS
Try this - the spam assassin bayesian filter might automatically catch
it without needing to even make a rule.

headers remove "X-Sender-Hostname:"
if "$sender_host_name" is not ""
then
headers add "X-Sender-Hostname: $sender_host_name"
else
headers add "X-Sender-Hostname: NO_DNS"
endif


Kevin Reed wrote:

>Up until now, I've allways denied hosts that have no valid rDNS and
>occassionally had to white list one or two along the way because they were
>unable to fix their problem.
>
>This is with my own server, and a number of medium sized non-profits.
>
>Recently, I activated a large company mail server and am finding there are
>a lot of screwed up mail servers out there.. to the point that I am having
>to whitelist a number of boxes just to get mail in.
>
>So I am rethinking this a bit....
>
>Right now, I am thinking of allowing hosts without valid rDNS in, but
>marking them so that SpamAssassin can mark them a potential spam and then
>starting the reverse, a black list of known bad sites that are blocked
>outright.
>
>This looks like a time consuming project either way, I'm curious how
>others are dealing with this.
>
>This particular site has about 4300 users with so far a light mail load
>(Holidays)...
>
>I am amazed at how many mid-sized companies that have misconfigured mail
>systems.
>
>--
>Kevin W. Reed - TNET Services, Inc.
>Unoffical Exim MTA Info Forums - http://exim.got-there.com/forums
>
>--
>
>## List details at http://www.exim.org/mailman/listinfo/exim-users Exim details at http://www.exim.org/ ##
>
>
>
>