Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 7 Jul 2003 14:36:26 +0100 (BST)
From:      Jan Grant <Jan.Grant@bristol.ac.uk>
To:        David Landgren <david@landgren.net>
Cc:        Thomas Beutler <storugglan@telia.com>
Subject:   Re: Need help with a strange mail/domain problem!
Message-ID:  <Pine.GSO.4.44.0307071433120.6413-100000@mail.ilrt.bris.ac.uk>
In-Reply-To: <3F097117.5030200@landgren.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, 7 Jul 2003, David Landgren wrote:

> Thomas Beutler wrote:
>
> > Hi everyone!
> >
> > I'm a total stranger to the Unix world... too long have I dwelled in the
> > Windows area, and now I'm searching
> > for new horizons and worlds to explore... the Unix world. I looked around
> > and found FreeBSD interesting
> > enough to install... and here I am with a strange problem:
> >
> > I installed FreeBSD 5.0-Release and got the system running. So far - so
> > good.
> > Second task: Install bind and get the DNS running. So far - so good - at
> > least I think so.
> >
> > Third task was to get my email work... and now the problems begins.
> >
> > I own the domain beutler.se, and my computers name is visthusboden.
> > The server accepts incoming mail all right - no problems there... BUT...
> > ...whatever I do, all outgoing mail get the address
> > user@visthusboden.beutler.se instead of user@beutler.se
> >
> > What am I doing wrong?
>
> You didn't visit http://www.postfix.org/ :)

That aside, you need to tell your mailer what domain to slap on the end
of unqualified mailing addresses. I think you want to add these two
lines to your sendmail.mc then regerate the .cf:

MASQUERADE_AS(`beutler.se')
FEATURE(`masquerade_envelope')

... but I'm sure sendmail gurus will step in to correct me. It's been a
while, here, too: I tend to use exim these days, mainly for the reason
given by David (that the configuration files are somewhat more
straightforward).


-- 
jan grant, ILRT, University of Bristol. http://www.ilrt.bris.ac.uk/
Tel +44(0)117 9287088 Fax +44 (0)117 9287112 http://ioctl.org/jan/
Theoremhood is positively decidable.
It just takes time at least exponential in the length of the proof.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.GSO.4.44.0307071433120.6413-100000>