#!/bin/sh

# Make sendmail aware of changes to resolv.conf
# so that we can reset the statistics for unresolvable hostnames

# Purge any latent host status that might cause us to *NOT* send mail
AM='-Am';
if [ ! -f /usr/share/sendmail/cf/feature/msp.m4 ]; then
	AM='';
	fi;
/usr/sbin/sendmail $AM -bH -O Timeout.hoststatus=1s;

# Start/reload sendmail as needed
#/etc/init.d/sendmail reload || true;

