[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: procmail eat F in From?



On Fri, Apr 25, 2003 at 10:13:18PM +0200, Attila Csosz wrote:
> I have some messages with "rom" instead of "From" in the From field. I 
> use procmail/spamassassin to filter my mail. Is there a workaround or an 
> bug fix for it?
> My MTA is qmail.
> 
> Thanks
> Attila

Try this at end of spamassassin recipe in .procmailrc:

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

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

-- 
Jerome

Attachment: pgp1Znob9seYf.pgp
Description: PGP signature


Reply to: