Need help with a strange mail/domain problem!

Jan Grant Jan.Grant at bristol.ac.uk
Mon Jul 7 06:41:38 PDT 2003


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 at visthusboden.beutler.se instead of user at 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.



More information about the freebsd-questions mailing list