Package: opensmtpd
Version: 6.8.0p2-4+b4

opensmtpd is not started by systemd at boot time. Error message
is:

dex06:~# journalctl -b -u opensmtpd
Dec 30 12:57:38 dex06.hosting2.aixigo.de systemd[1]: Starting opensmtpd.service 
- OpenSMTPD SMTP server...
Dec 30 12:57:38 dex06.hosting2.aixigo.de opensmtpd[103]: Active Internet 
connections (only servers)
Dec 30 12:57:38 dex06.hosting2.aixigo.de opensmtpd[103]: Proto Recv-Q Send-Q 
Local Address           Foreign Address         State       PID/Program name
Dec 30 12:57:38 dex06.hosting2.aixigo.de opensmtpd[103]: tcp6       0      0 
:::3142                 :::*                    LISTEN      -
Dec 30 12:57:38 dex06.hosting2.aixigo.de smtpd[111]: info: OpenSMTPD 6.8.0p2 
starting
Dec 30 12:57:38 dex06.hosting2.aixigo.de systemd[1]: Started opensmtpd.service 
- OpenSMTPD SMTP server.
Dec 30 12:57:38 dex06.hosting2.aixigo.de smtpd[130]: pony express: smtpd: bind: 
Cannot assign requested address
Dec 30 12:57:38 dex06.hosting2.aixigo.de smtpd[126]: smtpd: process pony socket 
closed
Dec 30 12:57:38 dex06.hosting2.aixigo.de systemd[1]: opensmtpd.service: Main 
process exited, code=exited, status=1/FAILURE
Dec 30 12:57:38 dex06.hosting2.aixigo.de systemd[1]: opensmtpd.service: Failed 
with result 'exit-code'.


If I manually restart opensmtpd, there is no such problem. As
you can see in the logfile, another service (apt-cacher-ng)
doesn't have this problem. (I had modified opensmtpd.service
to do a netstat -tnlp in ExecStartPre.)

smtpd.conf is

        listen on lo
        action "relay" relay host smtp://smarthost
        match from local for any action "relay"

Please tell *which* address it cannot bind.


Regards

Harri

Reply via email to