Ok, made both changes, same result.

Here's the procmail log for the message I sent to my test loop address
with "Test" as the sole entry in the subject:

procmail: [32114] Sun Nov 17 10:31:04 2002
procmail: Match on "< 256000"
procmail: Executing "spamassassin"
procmail: [32114] Sun Nov 17 10:31:07 2002
procmail: No match on "^X-Spam Status: 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
1

Here's my new and improved ruleset:

PATH=/bin:/usr/bin:/usr/sbin
MAILDIR=/home/balpert/mail
#MAILDIR=/var/spool/mail
SENDMAIL=/usr/sbin/sendmail
LOGFILE=/var/log/procmail
VERBOSE=ON

:0fw
* < 256000
| spamassassin

:0H
* ^X-Spam Status: 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 ideas?

Thanks!

Brad


> -----Original Message-----
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED]] On Behalf Of Mike Burger
> Sent: Sunday, November 17, 2002 10:04 AM
> To: [EMAIL PROTECTED]
> Subject: Re: Procmail processing problem
> 
> 
> 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.



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

Reply via email to