procmail
[Top] [All Lists]

Can't get action | to work

2006-03-27 14:54:28
I'm sure it's something I'm not doing; but I can't get the following to
work:

        :0
        * ^Return-Path:(_dot_)*(_at_)hotmail
           {
              :0
              * $ ^Subject:$WS\/.*$
              | (echo -e $TIME "bounce address" $MATCH "\n"` >> 
spamtest/spam.log)

              :0
              spamtest/gotcha
           }

What I *want* is to add the "echo" line to a file (spam.log), then file
the message in the "gotcha" folder.  The spamtest.log shows:
Assigning "LASTFOLDER= (echo -e $TIME ... etc.

The echo line works fine from the shell prompt.

                                - fleet -

PS: I haven't yet found where procmail is putting that "LASTFOLDER".  I
suppose I'll find it some day, somewhere. :)



____________________________________________________________
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>