#!/bin/sh # Make sendmail aware of changes to resolv.conf # so that we can reset the statistics for unresolvable hostnames # Bring in some script functions to handle dynamic configuration . /usr/share/sendmail/dynamic; # Note the interface that just changed - unfortunately, we know not how :( update_resolv; # If anything has been changed, update sendmail.cf and reload update_sendmail;