procmail
[Top] [All Lists]

Domain re writing

2001-09-24 04:18:00

I'm trying to get procmail to take an email addressed to 
alias(_at_)domain(_dot_)com
and forward it on to alias(_at_)isp(_dot_)com and 
alias(_at_)isp2(_dot_)com(_dot_)  Easy enough to do
where I'm forwarding on to the specific email addresses, however I need
procmail to keep the alias that is used for @domain.com when if forwards
onto @isp.com

ie joe(_at_)domain(_dot_)com goes to joe(_at_)isp(_dot_)com and 
joe(_at_)isp2(_dot_)com
bob(_at_)domain(_dot_)com goes to bob(_at_)isp(_dot_)com and 
bob(_at_)isp2(_dot_)com

Easy enough with a single address in the virtusertable,
@domain.com %1(_at_)isp(_dot_)com but it won't work with two forwarding 
addresses.

I've read so many faq's etc and searched the mailing lists and I've still
not even got close.

I'm guessing the fix needs to be based on a reg exp but that's way over my
head. :-(

Regards

John Lyons

_______________________________________________
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>
  • Domain re writing, John Lyons <=