Comment 21 for bug 1519331

Revision history for this message
Erik Auerswald (auerswal) wrote :

I am using the following script saved as /etc/resolvconf/update.d/postfix:

```
#! /bin/sh

# restart Postfix whenever resolv.conf changes, because Postfix creates
# a local copy of the file for use from inside its chroot

/usr/sbin/service postfix restart

```

That works reliably when changing network connectivity, e.g. going from cabled Ethernet to WLAN or vice versa. It does not always work during boot.

I use Ubuntu 14.04 LTS (and I do not dare to update my work notebook to 16.04 LTS, because it needs to actually work...).