procmail
[Top] [All Lists]

Re: Mail forwarding question.

1998-01-02 21:21:51


On Fri, 2 Jan 1998, Sanjay Wattal wrote:


 Hi all
 I've just started using procmail and I think it's a great tool.
 Could some guru please help me figure out how to:

 1. forward a mail: eg if Subject contains "humor", forward the mail
    to jokes(_at_)list

 2. delete a mail: eg if Subject contains "flame", delete the mail.

:0
* ^Subject: flame
/dev/null

:0 c
* ^Subject: humor 
! jokes(_at_)list


 I read the FAQ and READMEs, but couldnt get any hints.


more examples can be found in  man procmailex

 Thanks.
 Sanjay.
 sanjayw(_at_)crc(_dot_)stanford(_dot_)edu


<Prev in Thread] Current Thread [Next in Thread>