Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Postfix address rewriting

Status
Not open for further replies.

mgreenhalgh

IS-IT--Management
Aug 1, 2005
3
0
0
GB
Hi,

Curently I am running postfix to recieve mail and deliver it to a mailling list program. The people who send mail to the mailing list have two forms of their address, say
user@domain1.com and user@domain2.com and it is not possible to say which one will be used.

What i want to do is when mail is recieved is to look at the sender address and if it is from "domain2.com" rewrite it to "domain1.com", this way the mailling list program will always work.

I have heard this is possible using conical maps and a regexp table. Any help is much apreciated.

Thanks

Matt
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top