File: sendmail.in

package info (click to toggle)
sendmail 8.18.1-7
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 12,496 kB
  • sloc: ansic: 105,736; perl: 7,504; sh: 5,488; makefile: 889
file content (14 lines) | stat: -rw-r--r-- 435 bytes parent folder | download | duplicates (8)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/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;