On Sun, 3 Jul 2005, Theodoros V. Kalamatianos wrote:

Hm. I ran some isolated test (only one message for now). Strangely enough the boundary was there. Perhaps something is eating up the last line of the message. Most of my messages were from old mailboxes, so they were passed through formail. Perhaps that is the culprit. It is strange though that I have found no other malformed messages.

Ooops, I found the cause of this. I used to call spamassassin with the following procmail rule:

:0 fhw
| spamassassin -L

Note the h flag - it makes it so that _only_ the message header is passed to SA. It is no wonder the spam filtering was ineffective - SA could only process the message headers, and when creating a spam report it encapsulated an empty message. Then procmail appended the body of the message
thus keeping the processed message sizes somewhat correct.

I guess the procmail documentation is somewhat fuzzy on the h flag issue - or I did not RTFM well enough (probably the second).

Anyway, I corrected the rule and used a script to recover the messages, so everything is ok now.


Thank you for your time,

Theodoros V. Kalamatianos

Reply via email to