procmail
[Top] [All Lists]

Re: how can I change the address xxx(_at_)domain1 to xxx(_at_)domain2

2000-08-16 05:17:23
hi ,
 you can use the following recepie..

:0 hBHw
  * ^RCPT(.*)@domain1
     * ^RCPT \<+\/(.*)@
     * MATCH ?? ()\/[^(_at_)]+
     {
     :0 AHBw
      | mail $MATCH(_at_)domain2
     }

I hope it will work .
cheers ;-)
madhur



Mohammad Jubran wrote:

If any one can help I will appreciate, her is the situation:

I use sendmail as MTA and procmail as my LDA, and every thing is setup
correctly and it is up and running, but I would like all messages that come
to xxx(_at_)domain1 to be forwarded to xxx(_at_)domain2 where xxx is the name 
of the
user and it must not change.

Thanks

_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail


_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail

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