From owner-freebsd-questions Sat Sep 7 9:28: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 86F4037B400 for ; Sat, 7 Sep 2002 09:28:30 -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 8916943E3B for ; Sat, 7 Sep 2002 09:28:29 -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 g87GSSUc001028; Sat, 7 Sep 2002 17:28:28 +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 g87GSNm7001027; Sat, 7 Sep 2002 17:28:23 +0100 (BST) Date: Sat, 7 Sep 2002 17:28:23 +0100 From: Matthew Seaman To: Frank Heitmann Cc: FreeBSD-Questions@FreeBSD.ORG Subject: Re: Basic mail and Sendmail problem Message-ID: <20020907162823.GB274@happy-idiot-talk.infracaninophi> 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.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 05:10:30PM +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. Sounds like you don't have the sendmail MTA daemon running. To check that, see if there is anything listening on usual sendmail ports: happy-idiot-talk:~:% netstat -a | grep 'smtp\|submission' tcp4 0 0 *.submission *.* LISTEN tcp46 0 0 *.smtp *.* LISTEN tcp4 0 0 *.smtp *.* LISTEN and the process table: happy-idiot-talk:~:% ps -auxww | grep sendmail root 102 0.0 0.4 2804 2240 ?? Ss 2:30PM 0:00.30 sendmail: accepting connections (sendmail) smmsp 105 0.0 0.4 2700 2192 ?? Is 2:30PM 0:00.01 sendmail: Queue runner@00:30:00 for /var/spool/clientmqueue (sendmail) Another good place to look is the mail log file /var/log/maillog --- every time your system deals with an e-mail or sendmail starts up or shuts down, there will usually be one or two or three lines added to the log file and those lines can give valuable clues about why it's all going horribly wrong. What do you have in your /etc/rc.conf that's sendmail related? Have you made any significant modifications to the sendmail configuration --- that should be to the /etc/mail/myhost.mc file, which you can generate by running 'make' in /etc/mail if you haven't got one already. 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