#!/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
test -r @datadir@/sendmail/dynamic || exit 0
. @datadir@/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;
