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 -- Ubuntu-server-bugs mailing list [email protected] Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
