You've got the wrong X-Spam flag, there.

It should be "X-Spam Status: YES"

Additionally, try "^Subject.*" instead of "^Subject: *".

On 17 Nov 2002, Brad Alpert wrote:

> I'm running RH 8.0 with the default installation of procmail.  I have it
> set up as completely as seems necessary, but it will not flag and then
> act upon messages which I think ought to be tagged.
> 
> I'm sure I've made a dumb configuration error somewhere, but can't find
> it.
> 
> None of my header or subject rules will fire.  I made a rule for "Test"
> in the subject line, sent an email with that subject line, and procmail
> won't recognize the hit.
> 
> Here's a relevant log entry, followed by my .procmailrc:
> 
> LOG:
> procmail: [30384] Sun Nov 17 09:42:53 2002
> procmail: Match on "< 256000"
> procmail: Executing "spamassassin"
> procmail: [30384] Sun Nov 17 09:42:56 2002
> procmail: No match on "^X-Spam-Flag: YES"
> procmail: No match on "^Subject: *Test"
> procmail: No match on "^From.*21cn.com"
> procmail: No match on "^Subject: .*out of (the )?office"
> procmail: Assigning "DROPPRIVS=yes"
> procmail: Assuming identity of the recipient, VERBOSE=off
>   Folder: /var/spool/mail/balpert
> 
> PROCMAILRC:
> 
> PATH=/bin:/usr/bin:/usr/sbin
> MAILDIR=$HOME/mail
> SENDMAIL=/usr/sbin/sendmail
> LOGFILE=/var/log/procmail
> VERBOSE=ON
> 
> :0fw
> * < 256000
> | spamassassin
> 
> :0H
> * ^X-Spam-Flag: YES
> $HOME/spam
> 
> :0
> * ^Subject: *Test
> $HOME/spam
> 
> # Delete mail from 21cn.com
> :0
> * ^From.*21cn.com
> /dev/null
> 
> :0
> * ^Subject: .*out of (the )?office
> $HOME/spam
> 
> DROPPRIVS=yes
> 
> 
> Any help appreciated!
> 
> Thanks/Brad
> 
> 
> 
> 

-- 
Mike Burger
http://www.bubbanfriends.org

Visit the Dog Pound II BBS
telnet://dogpound2.citadel.org or http://dogpound2.citadel.org:2000



-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to