http://bugzilla.spamassassin.org/show_bug.cgi?id=4108





------- Additional Comments From [EMAIL PROTECTED]  2005-01-27 08:14 -------
Subject: Re:  Missing Mail::SpamAssassin leads to mail corruption

On Thu, Jan 27, 2005 at 07:59:55AM -0800, [EMAIL PROTECTED] wrote:
> I would think so too, but experience shows otherwise.  While SA was crashing,
> the leading "F" in each message was truncated, yielding mbox messages starting
> with, for example:

Yeah, that's a known bug in procmail.  IIRC, versions up to 3.21 do this
(you'd have to Google around for details).  We even document this issue
in the SA sample procmailrc:

# Work around procmail bug: any output on stderr will cause the "F" in "From"
# to be dropped.  This will re-add it.
# NOTE: This is probably NOT needed in recent versions of procmail
:0
* ^^rom[ ]
{
  LOG="*** Dropped F off From_ header! Fixing up. "

  :0 fhw
  | sed -e '1s/^/F/'
}

BTW, according to the procmail documentation:

 w    Wait for the filter or program to finish and check its exitcode
      (normally ignored); if the filter is unsuccessful, then the text
      will not have been filtered.





------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

Reply via email to