From owner-freebsd-questions@FreeBSD.ORG Tue Aug 14 16:44:55 2007 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A840216A419 for ; Tue, 14 Aug 2007 16:44:55 +0000 (UTC) (envelope-from admin2@enabled.com) Received: from typhoon.enabled.com (typhoon.enabled.com [216.218.220.21]) by mx1.freebsd.org (Postfix) with ESMTP id 9DFFA13C46E for ; Tue, 14 Aug 2007 16:44:55 +0000 (UTC) (envelope-from admin2@enabled.com) Received: from Macintosh-2.local (natint3.juniper.net [66.129.224.36]) (authenticated bits=0) by typhoon.enabled.com (8.14.1/8.14.1) with ESMTP id l7EGipck075956 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) for ; Tue, 14 Aug 2007 09:44:51 -0700 (PDT) (envelope-from admin2@enabled.com) Message-ID: <46C1DBFC.5060908@enabled.com> Date: Tue, 14 Aug 2007 09:44:44 -0700 From: Noah User-Agent: Thunderbird 2.0.0.6 (Macintosh/20070728) MIME-Version: 1.0 To: User Questions Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: sendmail built but does not work X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 14 Aug 2007 16:44:55 -0000 sendmail appears to be horked up on my machine and no longer answers port 25. I am not quite sure what the next steps of troubleshooting are. Please help. hostname# telnet 127.0.0.1 25 Trying 127.0.0.1... telnet: connect to address 127.0.0.1: Connection refused telnet: Unable to connect to remote host hostname# grep sendmail /etc/rc.conf sendmail_enable="YES" #sendmail_procname="/usr/local/sbin/sendmail" sendmail_flags="-L sm-msp-queue -Ac -q10m" hostname# pkg_info sendmail pkg_info: can't find package 'sendmail' installed or in a file! hostname# pkg_info | grep wsendmail hostname# pkg_info | grep sendmail sendmail+tls+sasl2-8.14.1 Reliable, highly configurable mail transfer agent with util hostname# uname -a FreeBSD hostname.blah.com 6.2-RELEASE-p5 FreeBSD 6.2-RELEASE-p5 #1: Sun Aug 12 14:27:32 PDT 2007 root@hostname.blah.com:/usr/obj/usr/src/sys/SMP i386 hostname# when starting the daemon here is what appears in the /var/log/maillog Aug 14 07:57:44 hostname sm-msp-queue[23695]: starting daemon (8.14.1): queueing@00:10:00 Aug 14 07:57:44 hostname sm-msp-queue[23695]: unable to write pid to /var/spool/clientmqueue/sm-client.pid: file in use by another process hostname# make restart /bin/kill -HUP `head -1 /var/run/sendmail.pid` head: /var/run/sendmail.pid: No such file or directory usage: kill [-s signal_name] pid ... kill -l [exit_status] kill -signal_name pid ... kill -signal_number pid ... *** Error code 1 Stop in /etc/mail. hostname# make start (. /etc/defaults/rc.conf; source_rc_confs; case "${sendmail_enable}" in [Yy][Ee][Ss]) /usr/sbin/sendmail ${sendmail_flags} ;; *) case "${sendmail_outbound_enable}" in [Yy][Ee][Ss]) /usr/sbin/sendmail ${sendmail_outbound_flags} ;; esac ;; esac ) hostname#