On 8/29/2012 10:35 AM, Nasser Heidari wrote: > Hi, > > We have Running Postfix and Exchange in our company. The mail system > is illustrated below: > > > > ------------------ > > | Domain.local | > > ------------------ > > | > > V > > ------------------ > > | Domain.com | > > ------------------ > > Domain.local is hosted on Microsoft Exchange and all local > communications handled by it. When someone from internal domain , > wants to send an email via outside network, then Exchange forwards > email to Postfix (Domain.com) and postfix send it out after address > rewriting (*@domain.local <mailto:*@domain.local> -> *@domain.com > <mailto:*@domain.com>). > > Also when postfix receives an email for domain.com , after rewriting > to domain.local , forwards it to Exchange. > > Currently this system is working, the only problem is that for > example when someone ([email protected] <mailto:[email protected]>) > on internal domain sends an email to a person on outside domain > ([email protected] <mailto:[email protected]>), with some internal > staff on the CC; Email sender address will translated to > [email protected] <mailto:[email protected]> but domain name of those > people whose address were on CC remains Domain.local. > > As far as I know, CC in body of the email and general rewrite rules > will not work here, Does anyone have a good solution for this case? > > > > Regards, > > Nasser >
http://www.postfix.org/ADDRESS_REWRITING_README.html#generic
