Folllow-up Test Code - Re: [Mimedefang] Potential for Businessmail servers to nothavereverse DNS

John Rudd john at rudd.cc
Mon Oct 30 16:37:00 EST 2006


Jonas Eckerman wrote:
> 
> John Rudd wrote:
>>> static-70-21-118-207.res.east.verizon.net.
> 
>> So, I've been considering moving those checks to filter_end and having 
>> it generate tags that indicate the message should be treated as spam 
>> instead of being rejected.
> 
> What works fine for me is to do this checks just before calling 
> SpamAssassin and add the result as headers to the mail that SpamAssassin 
> checks.
> 
> This way I can have SpamAssassin rules scoring for things that looks 
> like dynamic or dul hostnames. So a dynamic looking host name in itself 
> won't stop a mail from beeing received, but it will increase the 
> likelyhood of the mail beeing rejected.
> 
> (This kind of thing is why I patched mimedefang.pl so I can add my own 
> headers to SpamAssassins input.)
> 

I've just created a SpamAssassin Plugin that does it in SA directly. 
I'm still testing it.  I'll put the code up for review soon.


John



More information about the MIMEDefang mailing list