nullmailer
nullmailer copied to clipboard
Systemd
This adds support for systemd's watchdog feature. By adding "WatchdogSec=N" to the [Service] section of nullmailer.service, nullmailer will be restarted by systemd if it hasn't properly checked in after N seconds.
The patch adds a configure option of --enable-systemd for this feature, and changes the select timeout to be half the service-specified timeout.
This may or may not be helpful to anyone else but just in case, here it is.
Note: I removed the "AUTH EXTERNAL" patch so it can be dealt with elsewhere.