Extension I'm working on

Matt Hampton matt at coders.co.uk
Thu Oct 5 16:26:11 UTC 2006


Ken A wrote:
> Sounds interesting. How do you generate the DNS zone? 

I take a dump from DMOZ of their complete directory (2Gb of uncompressed
data) and parse it.

I calculate the md5sum of the URL and then use this as the basis of the
lookup

i.e. abcdef01234567890abcdef01234567890.zone.file

Will return the TXT record of the appropriate classification.  This
method means that the complete URL can be tested anonymously.

> Why not make it an SA plugin, similar to the 'urirhssub' tests, so it could take advantage
> of scoring system and wider testing?

Because it may not be Spam as such. It might be someone mailing a friend
- "did you see this film last night: http://link".

In this case it won't be spam and is more a content thing and so more
relevant to MailScanner than SA. Well that was my thinking!

It would also make more sense to "block" (gives the option of sending a
"this email was inappropriate" to the recipient rather than just
dropping it because it was classified as spam.

Thanks for the comments.


Matt



More information about the MailScanner-Beta mailing list