procmail
[Top] [All Lists]

Re: formail problems from ~/.procmailrc

2001-11-09 15:43:46
Try SpamAssassin: http://spamassassin.taint.org

Justin England                          jengland(_at_)enetis(_dot_)net
Network Administrator                   
E-Net Information Services              http://www.enetis.net
Tel: 605-341-3638                       Fax: 605-341-8880

On Fri, 9 Nov 2001, Louis LeBlanc wrote:

I'm getting frustrated with the ever growing quantity of spam in my
various inboxes.  I tried Junkfilter, but it caught nothing except my
FreeBSD list mail - all of it.

So I tried to write a few of my own.  I figured I'd put in my own
X-Spammer header to help indicate which recipe caught a message.  I
figured this would help me tweak them.

So this is one of my recipes:
:0
* ^From:.*XXX
{
  :0
  | /usr/local/bin/formail -f -A "X-Spammer: Bogus From header"
  EXTENSION=spam
}

Only problem is the formail call is not working.  This is what I see
in my log file:

procmail: Match on "^From:.*XXX"
procmail: Assigning "LASTFOLDER=/usr/local/bin/formail -f -A X-Spammer: Bogus 
From header"
  Folder: /usr/local/bin/formail -f -A X-Spammer: Bogus From header 742
procmail: Executing "/usr/local/bin/formail,-f,-A,X-Spammer: Bogus From 
header"

Only it should look more like this:
procmail: Match on "."
procmail: Executing "/usr/local/cyrus/bin/deliver,-q,-m,freebsd,--,leblanc"
procmail: Assigning "LASTFOLDER=/usr/local/cyrus/bin/deliver -q -m freebsd -- 
leblanc"
 Subject: Life working at an ISP (was: RE: Lockdown of FreeBSD machine 
directly
  Folder: /usr/local/cyrus/bin/deliver -q -m freebsd -- leblanc 5790

I don't know what the problem is with the formail call.  I am calling
it from my ~/.procmailrc, but other than that, it's the same as the
call from /etc/procmailrc.

Any ideas?

TIA
Lou
-- 
Louis LeBlanc               leblanc(_at_)keyslapper(_dot_)org
Fully Funded Hobbyist, KeySlapper Extrordinaire :)
http://www.keyslapper.org                     Ô¿Ô¬

Charity, n.:
  A thing that begins at home and usually stays there.



_______________________________________________
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>