From owner-freebsd-questions Sat Sep 7 16:11:54 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 457C337B400 for ; Sat, 7 Sep 2002 16:11:52 -0700 (PDT) Received: from chen.org.nz (chen.org.nz [210.54.19.51]) by mx1.FreeBSD.org (Postfix) with ESMTP id 331C943E3B for ; Sat, 7 Sep 2002 16:11:51 -0700 (PDT) (envelope-from jonc@chen.org.nz) Received: from grimoire.chen.org.nz (localhost [127.0.0.1]) by chen.org.nz (8.12.5/8.12.5) with ESMTP id g87NBnve069343; Sun, 8 Sep 2002 11:11:49 +1200 (NZST) (envelope-from jonc@grimoire.chen.org.nz) Received: (from jonc@localhost) by grimoire.chen.org.nz (8.12.5/8.12.5/Submit) id g87NBm6Z069342; Sun, 8 Sep 2002 11:11:48 +1200 (NZST) Date: Sun, 8 Sep 2002 11:11:48 +1200 From: Jonathan Chen To: Frank Heitmann Cc: FreeBSD-Questions@FreeBSD.ORG Subject: Re: Basic mail and Sendmail problem Message-ID: <20020907231148.GB69262@grimoire.chen.org.nz> References: <3D7A16E6.8070203@gmx.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <3D7A16E6.8070203@gmx.net> User-Agent: Mutt/1.4i 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 05:10:30PM +0200, Frank Heitmann wrote: > Hi, > > I am new to FreeBSD and have a problem with mail (and sendmail > I suppose). At home I have a desktop PC with only a dialup PPP (PPPoE) > connection; now I want to send a message with 'mail' from one local > user to another (for example to remind myself to do something), but > I already get stuck here. > > My /etc/hosts file looks like this: > > 127.0.0.1 localhost > 192.168.1.1 myhost.mydomain myhost > > in /etc/rc.conf I have: > > hostname="myhost.mydomain" > ifconfig_ed0="inet 192.168.1.1 netmask 255.255.255.0" > > 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. Make the following change to /etc/hosts: 127.0.0.1 localhost localhost.mydomain 192.168.1.1 myhost.mydomain myhost -- Jonathan Chen ----------------------------------------------------------------------- "One, with God, is always a majority, but many a martyr has been burned at the stake while the votes were being counted." -- Thomas B. Reed To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message