procmail
[Top] [All Lists]

semi-newbie question | .procmailrc

2005-12-29 12:29:10
Greetings -

I'm running procmail 3.22 under RH Gnu/Linux. I grab my mail off a 
pop3 server, using fetchmail, and pipe it through procmail - the 
relevant line in my .fetchmailrc file is

mda "/usr/bin/procmail -f -"


My .procmailrc file is *very* simple, and looks like

  PMDIR=$HOME/.pmdir
  LOGFILE=$PMDIR/log
:0
* ^Subject:.*###
/dev/null
:0fw
* < 256000
| spamassassin
:0:
* ^X-Spam-Status: Yes
$HOME/mail/spam


Now, the problem I'm having is that when the mail is received by our 
mailhost, it is automatically flagged with a variable number of # 
marks, which give an indication of the likelihood of the mail being 
spam. The more # marks, the greater the likelihood. What I'm trying to do with

:0
* ^Subject:.*###
/dev/null

is basically kill any incoming mail with >= 3 ### marks. Then, for 
whatever mail might be left, run the rest through spamassassin, using

:0fw
* < 256000
| spamassassin

:0:
* ^X-Spam-Status: Yes
$HOME/mail/spam

Now, what I don't understand is why, fairly often, an email with >= 3 
### will not get killed, but does end up in the $HOME/mail/spam folder?

Any suggestions (or things I should change in my .procmailrc in 
general)?  Thanks!


____________________________________________________________
procmail mailing list   Procmail homepage: http://www.procmail.org/
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail

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