summaryrefslogtreecommitdiff
path: root/debian/examples/resolvconf/update-libc.d/sendmail.in
blob: 31a1638a429ee8184f1b8fa0a257c9386a65fc89 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/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;