sendmail init error: Can't assign requested address

Ernest Sales ersaloz at gmail.com
Sun May 13 22:08:01 UTC 2007


A laptop running 6-STABLE is connected to the Internet thru a DSL
modem-router doing NAT. It gets a dynamic local IP (fairly recurring
192.168.1.33) at every boot. Of course there is no FQDN for this host.

Lately (after a sendmail upgrade?) init shows some oddities:

/etc/rc: DEBUG: checkyesno: sendmail_submit_enable is set to YES.
/etc/rc: DEBUG: run_rc_command: evaluating /usr/sbin/sendmail -L sm-mta -bd
-q30
m -ODaemonPortOptions=Addr=localhost().
May 12 21:59:35 asinusaureus sm-mta[970]: My unqualified host name
(asinusaureus
) unknown; sleeping for retry
[...after quite a while...]
May 12 22:06:20 asinusaureus sm-mta[970]: unable to qualify my own domain
name (
asinusaureus) -- using short name
[...]
May 12 22:06:20 asinusaureus sm-mta[987]: NOQUEUE: SYSERR(root):
opendaemonsocke
t: daemon Daemon0: cannot bind: Can't assign requested address
May 12 22:06:20 asinusaureus sm-mta[987]: daemon Daemon0: problem creating
SMTP
socket
[...lots of this, and finally...]
May 12 22:07:10 asinusaureus sm-mta[987]: daemon Daemon0: problem creating
SMTP
socket
May 12 22:07:10 asinusaureus sm-mta[987]: NOQUEUE: SYSERR(root):
opendaemonsocke
t: daemon Daemon0: server SMTP socket wedged: exiting

Relevant custom config:

/etc/rc.conf:
-------------------------------------------------------
[...]
# net
hostname="asinusaureus"
ifconfig_bge0=dhcp
[...]
-------------------------------------------------------

/etc/hosts:
-------------------------------------------------------
[...comments...]
::1			asinusaureus localhost
127.0.0.1		asinusaureus localhost
[...comments...]
-------------------------------------------------------

Neither named, pf, nor nis are enabled.

Sendmail is started as per defaults in /etc/defaults/rc.conf

What am I missing? And BTW, would it make any sense to qualify this
hostname?

Ernest

---------------------------------------------------------------
plain text emails preferred, cf http://expita.com/nomime.html



More information about the freebsd-questions mailing list