Re: How to use procmail to forward mail under conditions1999-05-20 11:47:18I would like to perform the following algorithm: if (To == "email1(_at_)host(_dot_)com" ) then { add "Misc" field and write orginal "To" to it;/*optional*/ write "email2(_at_)host(_dot_)com" in "To" ; forward message to "email2(_at_)host(_dot_)com" (without saving) ; } ok, let's see :0 * ^TO(email1(_at_)host(_dot_)com) { :0 fhw * ^TO\/.* | $FORMAIL -A "Misc: $MATCH" :0: | $SENDMAIL email2(_at_)host(_dot_)com } have fun Ralf
|
|