Sendmail not listening correctly
Mike Loiterman
mike at ascendency.net
Mon Sep 19 22:41:04 PDT 2005
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
> First, keep in mind that these parameters only define how sendmail starts
when the system is rebooted.
>
> Second, stop any sendmail processes.
>
> Third, start sendmail with the correct cf (config) file. It should be
/etc/mail/freebsd.cf.
> It is created from /etc/mail/freebsd.mc. The former is for sendmail only
(do not peek) and the
> latter is for you to read. When submit_only is ON, freebsd.submit.cf
(generated from
> freebsd.submit.mc) is used. You should investigate the mc files and learn
how to generate cf files from them.
I tried rebooting and that's when I get those errors.
I tried doing a:
#cd /etc/mail && make stop && killall -9 sendmail
The config file I'm using is made from $hostname.cf. That's where I make
all my changes.
I don't know why but somehow there is something else listening on 25 but I
can't figure out what:
# sockstat | grep sendmail
# cd /etc/mail && make start
Starting: sendmail sendmail-clientmqueue.
# sockstat | grep sendmail
smmsp sendmail 727 3 dgram -> /var/run/log
root sendmail 724 3 dgram -> /var/run/logpriv
root sendmail 724 4 tcp4 *:25 *:*
root sendmail 724 5 tcp6 *:25 *:*
# tail -f /var/log/maillog
Sep 20 00:38:18 eisenhower sm-mta[724]: daemon MTA: problem creating SMTP
socket
Sep 20 00:38:23 eisenhower sm-mta[724]: NOQUEUE: SYSERR(root):
opendaemonsocket: daemon MTA: cannot bind: Address already in use
Sep 20 00:38:23 eisenhower sm-mta[724]: daemon MTA: problem creating SMTP
socket
Sep 20 00:38:28 eisenhower sm-mta[724]: NOQUEUE: SYSERR(root):
opendaemonsocket: daemon MTA: cannot bind: Address already in use
Sep 20 00:38:28 eisenhower sm-mta[724]: daemon MTA: problem creating SMTP
socket
Sep 20 00:38:33 eisenhower sm-mta[724]: NOQUEUE: SYSERR(root):
opendaemonsocket: daemon MTA: cannot bind: Address already in use
Sep 20 00:38:33 eisenhower sm-mta[724]: daemon MTA: problem creating SMTP
socket
Sep 20 00:38:38 eisenhower sm-mta[724]: NOQUEUE: SYSERR(root):
opendaemonsocket: daemon MTA: cannot bind: Address already in use
Sep 20 00:38:38 eisenhower sm-mta[724]: daemon MTA: problem creating SMTP
socket
Sep 20 00:38:38 eisenhower sm-mta[724]: NOQUEUE: SYSERR(root):
opendaemonsocket: daemon MTA: server SMTP socket wedged: exiting
- ------------------------------
Mike Loiterman
grantADLER
Tel: 630-302-4944
Fax: 773-442-0992
Email: mike at ascendency.net
PGP Key: 0xD1B9D18E
-----BEGIN PGP SIGNATURE-----
Version: PGP Desktop 9.0.2 (Build 2424)
Comment: Secured by PGP 9.0.2
iQA/AwUBQy+g6WjZbUnRudGOEQL8LQCfSuoZCCvz0AGj1dclCldTq8RYx88Anicn
o2FjMQn8VCB5/2UkCcoRGcmI
=tmEQ
-----END PGP SIGNATURE-----
More information about the freebsd-questions
mailing list