[Bug 1519331] Re: Mail delivery fails until restarting postfix
Erik Auerswald
auerswal at unix-ag.uni-kl.de
Tue Nov 24 13:54:03 UTC 2015
I might have found the reason for this behaviour:
1) Without network connectivity, the file /etc/resolv.conf does not
contain any useful information (just two comment lines).
2) After establishing network connectivity, the file /etc/resolv.conf
contains 127.0.1.1 and a correct search path as received via DHCP.
3) Postfix copies the file /etc/resolv.conf to
/var/spool/postfix/etc/resolv.conf upon startup. If postfix is started
before the network is up, this file will not allow name resolution.
Every other application uses /etc/resolv.conf and works fine.
Perhaps Network-Manager could restart postfix upon connection-up events?
Can this be configured?
--
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to postfix in Ubuntu.
https://bugs.launchpad.net/bugs/1519331
Title:
Mail delivery fails until restarting postfix
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/postfix/+bug/1519331/+subscriptions
More information about the Ubuntu-server-bugs
mailing list