On Fri, 28 Dec 2012, Sean Tout wrote:
Hi John,
I wrote every email read to an output file. The output file is identical to
the input file I'm reading the emails from according to diff!
The concern is the format of the single mail object being sent to
SpamAssassin for scanning. Having the very first line of that object be a
blank line would explain the "misformatted message" rule hits you've
reported.
Capturing the entire mailbox and running a diff is certainly suggestive,
but to be *sure* you want to look at the messages individually.
If you capture that one mail object to a file, and it is a
properly-formatted RFC-822 message with no leading blank lines, and you
can successfully pipe that file through SA and get a sensible score, then
the problem is not in the data, it's how it's being fed to SpamAssassin
within that script.
--
John Hardin KA7OHZ http://www.impsec.org/~jhardin/
jhar...@impsec.org FALaholic #11174 pgpk -a jhar...@impsec.org
key: 0xB8732E79 -- 2D8C 34F4 6411 F507 136C AF76 D822 E6E6 B873 2E79
-----------------------------------------------------------------------
The more you believe you can create heaven on earth the more
likely you are to set up guillotines in the public square to
hasten the process. -- James Lileks
-----------------------------------------------------------------------
211 days since the first successful private support mission to ISS (SpaceX)