On Fri, Nov 02, 2007 at 09:52:51AM +0700, Olivier Nicole wrote: > I am wondering if some hiden method exist in Mail::SpamAssassin module > to only check the body of an email?
No, short of you removing/disabling non-body rules. > The problem is the following. I am looking at PDFassassin plugin > http://blog.atmail.com/?p=61 that uses pdftotext and pdftoimages to > extract the text from a PDF file. This text is then formated into a > dummy email message and a new instance of SA is launched to check that > dummy. The only interesting part of the dummy is the body (and further > more it should be without attachement) so it woul dbe faster to run > light SA (body/plain text only). I'd just convert the PDF into something usable by SA and scan it that way, instead of trying to kluge around the whole thing. There are specific plugin hooks and such to support this type of thing. -- Randomly Selected Tagline: Sarchasm: The gulf between the author of sarcastic wit, and the recipient who doesn't get it. - Washington Post
pgp1kj5G95NBb.pgp
Description: PGP signature