From owner-freebsd-questions@FreeBSD.ORG Mon Jul 7 06:41:37 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 CED5737B401 for ; Mon, 7 Jul 2003 06:41:37 -0700 (PDT) Received: from dire.bris.ac.uk (dire.bris.ac.uk [137.222.10.60]) by mx1.FreeBSD.org (Postfix) with ESMTP id D090B43F75 for ; Mon, 7 Jul 2003 06:41:36 -0700 (PDT) (envelope-from Jan.Grant@bristol.ac.uk) Received: from mail.ilrt.bris.ac.uk by dire.bris.ac.uk with SMTP-PRIV with ESMTP; Mon, 7 Jul 2003 14:40:43 +0100 Received: from cmjg (helo=localhost) by mail.ilrt.bris.ac.uk with local-esmtp (Exim 3.16 #1) id 19ZWAM-0002Pw-00; Mon, 07 Jul 2003 14:36:26 +0100 Date: Mon, 7 Jul 2003 14:36:26 +0100 (BST) From: Jan Grant X-X-Sender: cmjg@mail.ilrt.bris.ac.uk To: David Landgren In-Reply-To: <3F097117.5030200@landgren.net> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: Jan Grant cc: freebsd-questions 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: Mon, 07 Jul 2003 13:41:38 -0000 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.