procmail
[Top] [All Lists]

Re: Can't get action | to work

2006-03-27 15:34:35
On Tue, Mar 28, 2006 at 12:27:57AM +0200, Dallman Ross wrote:

   :0
   * $ ^Subject:.*\/[^$WS].*
   {
       MAILDIR = spamtest
       LOGFILE = spam.log
       LOG     = "$TIME bounce address $MATCH $NL"  # assumes $NL was set
       DEFAULT = spamtest/gotcha
       SWITCHRC
   }

Whoops, I forgot your other condition.


     :0
     * ^Return-Path:(_dot_)*(_at_)hotmail
     * $ ^Subject:.*\/[^$WS].*
     {
         MAILDIR = spamtest
         LOGFILE = spam.log
         LOG     = "$TIME bounce address $MATCH $NL"  # assumes $NL was set
         DEFAULT = spamtest/gotcha
         SWITCHRC
     }
  
(Untested.)

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