Got a weird one..

ME dugan at passwall.com
Mon Feb 10 21:52:38 PST 2003


I may not have been specific enouh with this... (more info)

ME said:
> Christopher Wagner said:
>> I just upgraded to the latest...

Nuh uh! I am running 2.5 cvs development... ;-)

>> ...and "greatest" RPM of SpamAssassin
>> (2.44-1 or something).  I'm abusing it via procmail (.procmailrc
>> below).  Now, it seems to be removing the first character of every
>> message that comes through it. ie: in the first From: line, the 'F'
>> gets clobbered.. Weird, no?
>>
>> Postfix is my MTA on Redhat 7.2.  Using procmail 3.21-1.
>>
>> ---
>> .procmailrc:
>>
>> :0fw
>> | spamassassin -t -P
>>
>> :0:
>> * ^X-Spam-Status: Yes
>> caughtspam
>> ---
>>
>> Any ideas folks?  It's rather having to wade through the spam again.
>> SA was catching about 95% of my spam (upwards a couple megs a day for
>> our site).
>
>

Consider altering your procmailrc:
##########################################
#Sample mods to your .procmailrc:

#Call SA:
:0fw
| spamassassin -t -P

#Dealing with known bug of F-dropping under certain conditions in
#  workin through stderror: Search and replace to resore "F" when
#  it is dropped from above:
:0 H
* ! ^From[ ]
* ^rom[ ]
{
  :0 fhw
  | sed -e 's/^rom /From /'
}

#Do the delivery/box thing based on filter for marked as spam:
:0:
* ^X-Spam-Status: Yes
caughtspam


#####
#HTH,
# -ME
#





More information about the talk mailing list