From owner-freebsd-questions Sat Sep 7 9:42:37 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 006E237B400 for ; Sat, 7 Sep 2002 09:42:34 -0700 (PDT) Received: from mail.gmx.net (mail.gmx.net [213.165.64.20]) by mx1.FreeBSD.org (Postfix) with SMTP id C65A643E6E for ; Sat, 7 Sep 2002 09:42:32 -0700 (PDT) (envelope-from fh31415@gmx.net) Received: (qmail 18742 invoked by uid 0); 7 Sep 2002 16:42:31 -0000 Received: from a092045.adsl.hansenet.de (HELO gmx.net) (213.191.92.45) by mail.gmx.net (mp020-rz3) with SMTP; 7 Sep 2002 16:42:31 -0000 Message-ID: <3D7A2CDA.6030605@gmx.net> Date: Sat, 07 Sep 2002 18:44:10 +0200 From: Frank Heitmann User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.0rc3) Gecko/20020607 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Matthew Seaman Cc: FreeBSD-Questions@FreeBSD.ORG Subject: Re: Basic mail and Sendmail problem References: <3D7A16E6.8070203@gmx.net> <20020907162823.GB274@happy-idiot-talk.infracaninophi> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit 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 > > >>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' > Result at my machine is quite similar: tcp4 0 0 *.submission *.* 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) > > the process table is also the same, but only when I am connected to my ISP - otherwise "sendmail: Queue runner ..." isn't running. (My problems only occur when I am not connected to my ISP!) >What do you have in your /etc/rc.conf that's sendmail related? > Only sendmail_enable="YES", so the lines in /etc/defaults/rc.conf should be used. >Have you made any significant modifications to the sendmail configuration > No, none yet! I had also checked the files in /var/log and the headers in /var/spool/clientmqueue but the error messages there are the same as above. Cheers... Frank To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message