On 13 October 2015 at 04:11, Holger Jahn <[email protected]> wrote:
> On 10/12/2015 09:47 PM, Maarten de Vries wrote: > >> Ah, but the smtpd.conf posted by Allyn contains this: >> >> listen on enp0s4 hostname ######### tls >> >> >> Which specifies an interface to listen on (enp0s4) and, if my >> understanding from the man page is correct, a hostname for the smtp >> greeting which never even needs to be resolved. >> > > Well, what is the IP address of "enp0s4" at boot time then if it is under > networkd/DHCP control? > > Right, thats the million dollar question I think. With After=network-up.target it *should* be set correctly, but it is worth verifying. Could add a "ExecStartPre=ip -a" to the service and check the logs, or run smtpd straced (but don't just post the strace log to the mailinglist, it may contain sensitive data). -- Maarten
