Date: Sat, 5 Jan 2008 10:56:24 -0700 From: Andrew Falanga <af300wsm@gmail.com> To: FreeBSD Questions <freebsd-questions@freebsd.org> Subject: How do I get sendmail working again Message-ID: <200801051056.24362.af300wsm@gmail.com>
next in thread | raw e-mail | index | archive | help
HI, I've gotten myself into a real fix at this point. (This is a continuation of the thread I started, "sendmail is broken, how do I fix?") I was trying to setup authentication based relaying using istructions at http://www.puresimplicity.net/~hemi/freebsd/sendmail.html. I must first say that I was trying to get authentication based relaying working by using the instructions in the handbook under the title "SMTP Authentication." The two set of instructions do overlap slightly. Well, after following the instructions at the former link, sendmail will no longer start and is complaining with errors as follows from the /var/log/maillog file: Jan 4 17:36:42 whitbap sm-mta[975]: starting daemon (8.13.8): SMTP+queueing@00:30:00 Jan 4 17:36:42 whitbap sm-mta[975]: NOQUEUE: SYSERR(root): opendaemonsocket: daemon MTA: cannot bind: Address already in use Jan 4 17:36:42 whitbap sm-mta[975]: daemon MTA: problem creating SMTP socket Jan 4 17:36:42 whitbap sm-msp-queue[979]: starting daemon (8.13.8): queueing@00:30:00 Jan 4 17:36:42 whitbap sm-mta[978]: m010sNBM004564: to=<jqyuehutmqluz@epilot.com>, delay=3+23:42:19, xdelay=00:00:00, mailer=esmtp, pri=2555114, relay=mail02.interchangeusa.com. [63.251.210.81], dsn=4.0.0, stat=Deferred: Connection refused by mail02.interchangeusa.com. Jan 4 17:36:47 whitbap sm-mta[975]: NOQUEUE: SYSERR(root): opendaemonsocket: daemon MTA: cannot bind: Address already in use Jan 4 17:36:47 whitbap sm-mta[975]: daemon MTA: problem creating SMTP socket Jan 4 17:36:52 whitbap sm-mta[975]: NOQUEUE: SYSERR(root): pendaemonsocket: daemon MTA: cannot bind: Address already in use Jan 4 17:36:52 whitbap sm-mta[975]: daemon MTA: problem creating SMTP socket Jan 4 17:36:57 whitbap sm-mta[975]: NOQUEUE: SYSERR(root): opendaemonsocket: daemon MTA: cannot bind: Address already in use Jan 4 17:36:57 whitbap sm-mta[975]: daemon MTA: problem creating SMTP socket Jan 4 17:37:02 whitbap sm-mta[975]: NOQUEUE: SYSERR(root): opendaemonsocket: daemon MTA: cannot bind: Address already in use Jan 4 17:37:02 whitbap sm-mta[975]: daemon MTA: problem creating SMTP socket Jan 4 17:37:07 whitbap sm-mta[975]: NOQUEUE: SYSERR(root): opendaemonsocket: daemon MTA: cannot bind: Address already in use Jan 4 17:37:07 whitbap sm-mta[975]: daemon MTA: problem creating SMTP socket Jan 4 17:37:12 whitbap sm-mta[975]: NOQUEUE: SYSERR(root): opendaemonsocket: daemon MTA: cannot bind: Address already in use Jan 4 17:37:12 whitbap sm-mta[975]: daemon MTA: problem creating SMTP socket Jan 4 17:37:17 whitbap sm-mta[975]: NOQUEUE: SYSERR(root): opendaemonsocket: daemon MTA: cannot bind: Address already in use Jan 4 17:37:17 whitbap sm-mta[975]: daemon MTA: problem creating SMTP socket Jan 4 17:37:22 whitbap sm-mta[975]: NOQUEUE: SYSERR(root): pendaemonsocket: daemon MTA: cannot bind: Address already in use Jan 4 17:37:22 whitbap sm-mta[975]: daemon MTA: problem creating SMTP socket Jan 4 17:37:27 whitbap sm-mta[975]: NOQUEUE: SYSERR(root): opendaemonsocket: daemon MTA: cannot bind: Address already in use Jan 4 17:37:27 whitbap sm-mta[975]: daemon MTA: problem creating SMTP socket Jan 4 17:37:32 whitbap sm-mta[975]: NOQUEUE: SYSERR(root): opendaemonsocket: daemon MTA: cannot bind: Address already in use Jan 4 17:37:32 whitbap sm-mta[975]: daemon MTA: problem creating SMTP socket Jan 4 17:37:32 whitbap sm-mta[975]: NOQUEUE: SYSERR(root): opendaemonsocket: daemon MTA: server SMTP socket wedged: exiting Someone asked me to post the result of doing, "sockstat | grep ":25" just after starting the sendmail process. Well, here's that output: whitbap# /etc/rc.d/sendmail start Starting sendmail. whitbap# sockstat | grep :25 root sendmail 1133 3 tcp4 *:25 *:* root sendmail 1133 5 tcp6 *:25 *:* whitbap# sockstat | grep :25 root sendmail 1133 3 tcp4 *:25 *:* root sendmail 1133 5 tcp6 *:25 *:* whitbap# sockstat | grep :25 root sendmail 1133 3 tcp4 *:25 *:* root sendmail 1133 5 tcp6 *:25 *:* whitbap# sockstat | grep :25 root sendmail 1133 3 tcp4 *:25 *:* root sendmail 1133 5 tcp6 *:25 *:* whitbap# sockstat | grep :25 root sendmail 1133 3 tcp4 *:25 *:* root sendmail 1133 5 tcp6 *:25 *:* whitbap# sockstat | grep :25 root sendmail 1133 3 tcp4 *:25 *:* root sendmail 1133 5 tcp6 *:25 *:* whitbap# sockstat | grep :25 whitbap# I do know for a fact that it's sendmail that's killing itself. Without anything else running related to mail (sendmail or dovecot) I wrote a little C program to open a socket and bind to port 25 and it works ok. Please help me. I have got to get this working for the church and at this point, I'm not sure how to make it work. Andy
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200801051056.24362.af300wsm>