[Maia-users] can't get PDFinfo working

Eugene Pefti eugenep at w3media.net
Thu Aug 9 16:31:14 PDT 2007


I'll appreciate if somebody who has an experience with spamassassin plugins
gives an advice. But honestly I believe that I miss something globally.

I don't see that emails with PDF attachments have hits in the spamassassin.
PDFInfo.pm module is loaded and everything goes fine whenever I test it with
spamassassin -D --lint and it reports that it registers the plugin:

[30338] dbg: plugin: registering glue method for pdf_match_details
(Mail::SpamAssassin::Plugin::PDFInfo=HASH(0x916e098))
[30338] dbg: plugin: registering glue method for pdf_is_encrypted
(Mail::SpamAssassin::Plugin::PDFInfo=HASH(0x916e098))
[30338] dbg: plugin: registering glue method for pdf_image_size_range
Mail::SpamAssassin::Plugin::PDFInfo=HASH(0x916e098))
[30338] dbg: plugin: registering glue method for pdf_image_to_text_ratio
Mail::SpamAssassin::Plugin::PDFInfo=HASH(0x916e098))

But when I test it with spamassassin -t -D < message.msg (message.msg
contains PDF attachment with 100% spam content)
I end up with a broken or unrecognized character set and have to log off
from the console to be able to it again.

And this proves that I have something wrong with MIME settings. Accessing
maia's cache I see this:

CONTENT-TYPE:	message/rfc822

[Ignoring unsupported content type: message/rfc822]






More information about the Maia-users mailing list