Sendmail question
Craig White
craigwhite at azapple.com
Fri Feb 25 03:48:02 UTC 2005
On Thu, 2005-02-24 at 22:10 -0500, Ian P. Thomas wrote:
> On Thu, 2005-02-24 at 14:49 -0800, Rick Lim wrote:
> >
> > -----Original Message-----
> > From: fedora-list-bounces at redhat.com [mailto:fedora-list-bounces at redhat.com]
> > 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 at redhat.com
> > [mailto:fedora-list-bounces at redhat.com]
> > > 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 at companyb.com
> > >
> > > 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 at companyb.com."
>
> Success mapping company_b_user to company_b_user at companyb.com 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 at companya.com"
>
> Not successful mapping company_b_user to company_b_user at companyb.com
> when mail is relayed. In fact, mail in outlook has
> company_b_user at companyb.com which is mapped to
> company_b_user at companya.com. Is this right?
>
> Could you post your genericstable file? I think the solution may lie
> there.
----
I have not generally used 'masquerade' features when serving more than
one internet domain name. I think that is the problem - try removing all
masquerade references and either trust client setup and/or
'genericstable' to properly handle outbound mail.
Craig
More information about the fedora-list
mailing list