procmail
[Top] [All Lists]

Re: "rom " Versus "From "

2003-03-14 18:14:18
On Fri, 14 Mar 2003, LuKreme wrote:

OK, I've been seeing this munging of the From line in messages a lot 

This is a procmail bug.  It's most often triggered when a filter writes to
both stdout and stderr.  It's got something to do with the way procmail
seeks on its temp copy of the input stream when the filter exits nonzero,
but nobody has been able to come up with a minimal way to reproduce it.
Try adding 2>/dev/null to your spamc or spamassassin filter command; if
that doesn't work, there's a workaround described in the SpamAssassin
documentation that is similar to

        :0 fhw
        * ^^rom
        | sed 1s/rom/From/


_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail

<Prev in Thread] Current Thread [Next in Thread>