From owner-freebsd-questions Sat Sep 7 10:54:35 2002 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 2528C37B400 for ; Sat, 7 Sep 2002 10:54:33 -0700 (PDT) Received: from smtp.infracaninophile.co.uk (happy-idiot-talk.infracaninophile.co.uk [81.2.69.218]) by mx1.FreeBSD.org (Postfix) with ESMTP id 134FD43E65 for ; Sat, 7 Sep 2002 10:54:32 -0700 (PDT) (envelope-from m.seaman@infracaninophile.co.uk) Received: from happy-idiot-talk.infracaninophile.co.uk ([IPv6:::1]) by smtp.infracaninophile.co.uk (8.12.6/8.12.6) with ESMTP id g87HsUUc001423; Sat, 7 Sep 2002 18:54:30 +0100 (BST) (envelope-from matthew@happy-idiot-talk.infracaninophile.co.uk) Received: (from matthew@localhost) by happy-idiot-talk.infracaninophile.co.uk (8.12.6/8.12.6/Submit) id g87HsOOi001422; Sat, 7 Sep 2002 18:54:24 +0100 (BST) Date: Sat, 7 Sep 2002 18:54:24 +0100 From: Matthew Seaman To: Frank Heitmann Cc: FreeBSD-Questions@FreeBSD.ORG Subject: Re: Basic mail and Sendmail problem Message-ID: <20020907175424.GC274@happy-idiot-talk.infracaninophi> References: <3D7A16E6.8070203@gmx.net> <3D7A2974.6030409@gmx.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <3D7A2974.6030409@gmx.net> User-Agent: Mutt/1.5.1i Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Sat, Sep 07, 2002 at 06:29:40PM +0200, Frank Heitmann wrote: > >When I know try to send a mail to 'userone' with 'mail -v userone' > >I get the following error (same error in /var/spool/clientmqueue): > >userone... Connecting to localhost.mydomain. via relay... > >userone... Deferred: Connection refused by localhost.mydomain. > > One more thing to add: This works fine, when I am connected to my ISP. > So this might be a problem with DNS configuration? Yeah. Sounds like exactly that. Sendmail pretty much insists on unfettered access to the DNS, which makes running it on a dialup a bit of a trial. It may be possible to make local delivery work without having to dial up by running named yourself --- you would want it to be mostly a cacheing server for general purpose use by your machine, but also you should make it serve the 'mydomain' zone: make sure you put in an MX record for your mail server. Cheers, Matthew -- Dr Matthew J Seaman MA, D.Phil. 26 The Paddocks Savill Way Marlow Tel: +44 1628 476614 Bucks., SL7 1TH UK To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message