From owner-freebsd-questions@FreeBSD.ORG Sat Jul 5 05:36:30 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8281337B401 for ; Sat, 5 Jul 2003 05:36:30 -0700 (PDT) Received: from mta6.adelphia.net (mta6.adelphia.net [64.8.50.190]) by mx1.FreeBSD.org (Postfix) with ESMTP id B98BF44001 for ; Sat, 5 Jul 2003 05:36:29 -0700 (PDT) (envelope-from wmoran@potentialtech.com) Received: from potentialtech.com ([24.53.179.151]) by mta6.adelphia.net (InterMail vM.5.01.05.32 201-253-122-126-132-20030307) with ESMTP id <20030705123629.OJWN10267.mta6.adelphia.net@potentialtech.com>; Sat, 5 Jul 2003 08:36:29 -0400 Message-ID: <3F06C64C.70500@potentialtech.com> Date: Sat, 05 Jul 2003 08:36:28 -0400 From: Bill Moran User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.3) Gecko/20030429 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Jamie Jones References: <01057406235$023864$0001$h65Bv9ix023489@mail2news.bishopston.net> <200307051227.h65CRxAV061038@catflap.bishopston.net> In-Reply-To: <200307051227.h65CRxAV061038@catflap.bishopston.net> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit cc: freebsd-questions@freebsd.org cc: Thomas Beutler Subject: Re: Need help with a strange mail/domain problem! X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 05 Jul 2003 12:36:30 -0000 Sendmail is a big, complex program ... I'm sure if you had the time, you could make it wash dishes for you. There are a gazillion howtos and explanations for configuring sendmail all across the internet. Considering the fact that you're using FreeBSD, I recommend the one specifically written for FreeBSD in the Handbook. I found this page particularly useful: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/smtp-dialup.html Jamie Jones wrote: > 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 -- Bill Moran Potential Technologies http://www.potentialtech.com