-----Original Message----- From: fedora-list-bounces@xxxxxxxxxx [mailto:fedora-list-bounces@xxxxxxxxxx] On Behalf Of Ian P. Thomas Sent: Thursday, February 24, 2005 7:11 PM To: For users of Fedora Core releases Subject: RE: Sendmail question On Thu, 2005-02-24 at 14:49 -0800, Rick Lim wrote: > > -----Original Message----- > From: fedora-list-bounces@xxxxxxxxxx [mailto:fedora-list-bounces@xxxxxxxxxx] > On Behalf Of Ian P. Thomas > Sent: Thursday, February 24, 2005 2:38 PM > To: For users of Fedora Core releases > Subject: RE: Sendmail question > > On Thu, 2005-02-24 at 14:31 -0800, Rick Lim wrote: > > The genericstable and outlook is configured correctly, yet when the user > > sends from home the company_a return address shows up. > > > > -----Original Message----- > > From: fedora-list-bounces@xxxxxxxxxx > [mailto:fedora-list-bounces@xxxxxxxxxx] > > On Behalf Of Alexander Dalloz > > Sent: Thursday, February 24, 2005 2:14 PM > > To: For users of Fedora Core releases > > Subject: Re: Sendmail question > > > > Am Do, den 24.02.2005 schrieb Rick Lim um 22:01: > > > > > Anyone know how to rewrite the from address correctly, the from email > > > address in MS outlook shows company_b_user@xxxxxxxxxxxx > > > > Using genericstable is one correct way. > > Or simply let the Outlook user configure his mail account settings > > properly in the client. > > You may want to check out the MASQUERADE option. I'm not sure if you're > using it yet. It will rewrite From: headers on the message and the > envelope, if you set it up that way. I do this myself so that all > machines that send out mail through my mail server appear to come from > the same domain. > > > Ian > > > That works if you have a single domain, I have 2 domains, how do you do it? > Could you post your config file? I only have one domain, so my config wouldn't help you. However, from your original e-mail, "But for company B when the mail is send directly from the server box (logged on as company_b_user) the from address shows correctly i.e. company_b_user@xxxxxxxxxxxxx" Success mapping company_b_user to company_b_user@xxxxxxxxxxxx when mail is sent locally. "When that user sends mail from his outlook at home and relays thru the server the from address shows up as company_b_user@xxxxxxxxxxxx" Not successful mapping company_b_user to company_b_user@xxxxxxxxxxxx when mail is relayed. In fact, mail in outlook has company_b_user@xxxxxxxxxxxx which is mapped to company_b_user@xxxxxxxxxxxxx Is this right? Could you post your genericstable file? I think the solution may lie there. Ian -- fedora-list mailing list fedora-list@xxxxxxxxxx To unsubscribe: http://www.redhat.com/mailman/listinfo/fedora-list The generics-domains contains companyb.com The genericstable contains b_user company_b_user@xxxxxxxxxxxx The virtusertable contains company_b_user@xxxxxxxxxxxx b_user