sendmail built but does not work

Noah admin2 at enabled.com
Tue Aug 14 09:44:55 PDT 2007


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 at 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 at 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#


More information about the freebsd-questions mailing list