procmail
[Top] [All Lists]

Re: Help with config file

2000-05-12 13:01:25
Matt Dunford <matt(_at_)stary(_dot_)zoomedia(_dot_)com> writes:
...
I'll give you examples fast so beware some of them
might be wrong.

I only see one error...


On Sat, 6 May 2000, Albert Kasper wrote:
...
* All Mails with Subject containing "Telephone conference" (not as whole,
but as part of the subject) shall be forwarded to info(_at_)company(_dot_)com 
and my
address (kasper(_at_)company(_dot_)com)

:0
* ^Subject:.*Telephone.*conference
! info(_at_)company(_dot_)com

:0A
! kasper(_at_)company(_dot_)com

You either need the 'c' flag on the first recipe (otherwise procmail will
stop after executing the recipe) or you need to combine the forwarding into
one action:

        :0
        * ^Subject:.*telephone.*conference
        ! info(_at_)company(_dot_)com kasper(_at_)company(_dot_)com


Philip Guenther

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