Just got into procmail myself.

http://www.procmail.org/ has very good FAQs and links.  I think you want a
rule like this:

:0 c
* ^Subject:.*some text
! [EMAIL PROTECTED]

The :0 begins a ruleset. The '*' is like an if statement. The ! lets you
forward the mail to somewhere else.  The "c" makes a copy of the email so
that it is forwards *as well as* get delivered into the users mail box.
Take the "c" out if you don't want them to get a copy - which is what you
want if certain types of attachments. Spastic contains lots of useful
procmail examples that the man pages don't show.

-eric wood


Jason Williams wrote:
> For instance, im trying to setup procmail to sort all mail to a specific
> account if the headers have a certain subject in it...
>
> ANy recommendations?


-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://www.redhat.com/mailman/listinfo/redhat-list

Reply via email to