MCP patching SpamAssassin

Julian Field MailScanner at ecs.soton.ac.uk
Wed Jun 20 18:38:32 IST 2007


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

After looking at the source for 3.2.1, I have come up with a far easier 
way of making SpamAssassin search binary attachments as well as just 
text and HTML, when doing MCP tests.

The new method involves just a single 1-line patch to Util.pm.

This will be in the next release, and should be far simpler to maintain 
across future versions, as it works at a much lower level, in a utility 
function for reading the MIME type of an attachment.

I would advise anyone using SpamAssassin version 3.2.0 or higher to 
switch to the new method when I release it.

Jules

- -- 
Julian Field MEng CITP
www.MailScanner.info
Buy the MailScanner book at www.MailScanner.info/store

MailScanner customisation, or any advanced system administration help?
Contact me at Jules at Jules.FM

PGP footprint: EE81 D763 3DB0 0BFD E1DC 7222 11F6 5947 1415 B654
For all your IT requirements visit www.transtec.co.uk



-----BEGIN PGP SIGNATURE-----
Version: PGP Desktop 9.6.1 (Build 1012)
Charset: ISO-8859-1

wj8DBQFGeWYcEfZZRxQVtlQRArbJAJ4jiO9oBhE+Eq1xeDbMLVwW/wLDcwCgni/C
f/VlgCDaKhuT7huy26Faqgk=
=pkT/
-----END PGP SIGNATURE-----

-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
For all your IT requirements visit www.transtec.co.uk



More information about the MailScanner mailing list