Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 14 May 2007 00:07:54 +0200
From:      "Ernest Sales" <ersaloz@gmail.com>
To:        <freebsd-questions@freebsd.org>
Subject:   sendmail init error: Can't assign requested address
Message-ID:  <000001c795ab$2a1b7fe0$2101a8c0@asinusaureus>

Next in thread | Raw E-Mail | Index | Archive | Help
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




Want to link to this message? Use this URL: <http://docs.FreeBSD.org/cgi/mid.cgi?000001c795ab$2a1b7fe0$2101a8c0>