From: Sean Tout <seant...@gmail.com> Date: Fri, 28 Dec 2012 01:10:02 -0800 (PST) Hi Henrik, Thank you much for the prompt response and points. I ran the Perl script with the code you pasted below, but still got the same report scores for all emails! by the way, when I also tried to print contents of the emails using $status->get_content_preview(), I got [...] I'm unable to print any portions of the email messages using $status = $spamtest->check($mail), however I can print any portions using $folder_reader->read_next_email(). Regards, Sean. Based on the tests that are hit -------------------------------------------------- -0.0 NO_RELAYS Informational: message was not relayed via SMTP 1.2 MISSING_HEADERS Missing To: header 0.1 MISSING_MID Missing Message-Id: header 1.8 MISSING_SUBJECT Missing Subject: header 2.3 EMPTY_MESSAGE Message appears to have no textual parts and no Subject: text -0.0 NO_RECEIVED Informational: message has no Received headers 1.4 MISSING_DATE Missing Date: header 0.0 NO_HEADERS_MESSAGE Message appears to be missing most RFC-822
you are passing in malformed email messages into SpamAssassin. SpamAssassin can not find any of the headers. I'd guess that you have extraneous junk at the beginning of each message. -jeff