Date: Sat, 5 Jul 2003 13:27:59 +0100 From: Jamie Jones <jamie@bishopston.net> To: "Thomas Beutler" <storugglan@telia.com> Cc: freebsd-questions@freebsd.org Subject: Re: Need help with a strange mail/domain problem! Message-ID: <200307051227.h65CRxAV061038@catflap.bishopston.net> In-Reply-To: <01057406235$023864$0001$h65Bv9ix023489@mail2news.bishopston.net> References: <01057406235$023864$0001$h65Bv9ix023489@mail2news.bishopston.net>
next in thread | previous in thread | raw e-mail | index | archive | help
In bish.lists.freebsd.questions, you wrote: > 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? > > I've checked and tripple-checked every file in /etc/namedb/ and everything > looks fine (no missing dots or > some simple problem like that) and I've really read this through in the > FreeBSD manual... and still... ??? It's not a DNS issue, it's "sendmail". What it's currently doing is correct - by default, it uses your fully qualified hostname for the Sender address -- it doesn't know that "user@beutler.se" will work also - so, you need to tell sendmail of this fact: You can do this with the "massquerading" feature of sendmail. See: http://www.sendmail.org/m4/masquerading_relaying.html and more generally: http://www.sendmail.org/m4/readme.html Cheers, Jamie
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200307051227.h65CRxAV061038>