procmail
[Top] [All Lists]

Re: Mail forwarding (was: I`m asking for your help.)

1997-08-27 11:44:33
In <3404396E(_dot_)1C7C(_at_)ond(_dot_)jupiter(_dot_)vein(_dot_)hu>, Forczek 
Attila <forci(_at_)ond(_dot_)jupiter(_dot_)vein(_dot_)hu> writes:
Here is my question: How can I forward (leave the original there) my
E-mails (mail1(_at_)servername) to a different E-mail (mail2(_at_)servername),
except the ones coming from a  sender, whose name is beggining with
(eg.) AbC.


     :0 c
          * !^X-Loop: mail1(_at_)servername
          * ^From.*AbC
          | formail -A "X-Loop: mail1(_at_)servername" | \
             $SENDMAIL -oi mail2(_at_)servername

(see procmailex.5 for similar examples)


Klaus Johannes Rusch
--
KlausRusch(_at_)atmedia(_dot_)net
http://www.atmedia.net/KlausRusch/

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