procmail
[Top] [All Lists]

Re: Can't get action | to work

2006-03-27 16:57:12
On Tue, Mar 28, 2006 at 01:38:26AM +0200, Dallman Ross wrote:
Finally, I've now tested this thing.  We don't need
your $TIME, your bounce address (anyway, you'd captured
the Subject, not the bounce address!), or any special log
line this way:


      :0
      * ^Return-Path:(_dot_)*(_at_)hotmail
      * $ ^Subject:.*\/[^$WS].*
      {
          MAILDIR    = spamtest
          VERBOSE    = off
          OLDLOGFILE = "$LOGFILE"
          LOGFILE    = spam.log
          LOGFILE    = "$OLDLOGFILE"

          DEFAULT    = gotcha
          SWITCHRC
      }

And we didn't even need to capture the Subject line, as a
matter of fact.  That whole condition can just go away.

Sorry for all the follow-ups to myself. :-/

Dallman

____________________________________________________________
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