Bob Proulx wrote:

I like the idea of tagging mismatched types where the actual content
doesn't match the stated type.  That would be a good idea for a plugin
enhancement.  Perhaps something based upon libmagic?

I've got a plugin that does this. It's the MimeMagic plugin at <http://whatever.frukt.org/spamassassin.text.shtml#MimeMagic.pm>.

FWIW the spam put up by the OP got hit by a mismatch rule when I ran it through spamassassin here.

The plugin uses File::MimeInfo::Magic, wich in turn uses the freedesktop MIME database.

Please note that while the plugin isn't new I still consider it experimental since I haven't done enough evaluation of it's results.

Regards
/Jonas

--
Jonas Eckerman
Fruktträdet & Förbundet Sveriges Dövblinda
http://www.fsdb.org/
http://www.frukt.org/
http://whatever.frukt.org/

Reply via email to