diff options
author | Richard A Nelson (Rick) <cowboy@debian.org> | 2005-04-25 02:30:00 +0000 |
---|---|---|
committer | Andreas Beckmann <debian@abeckmann.de> | 2012-10-01 19:58:49 +0200 |
commit | 11606d89a75b84f614d3a84cdcf081204a864c09 (patch) | |
tree | b109be1c08b2a2302e3cb143fe34be866520327b /debian/local | |
parent | 676f8900ac96a2ca054b91b0a00cf6d4fb95211d (diff) | |
download | sendmail-debian/8.13.4-2.tar.gz |
Imported Debian patch 8.13.4-2debian/8.13.4-2
Diffstat (limited to 'debian/local')
-rw-r--r-- | debian/local/sendmail.in | 10 | ||||
-rw-r--r-- | debian/local/update_sendmail | 1 |
2 files changed, 6 insertions, 5 deletions
diff --git a/debian/local/sendmail.in b/debian/local/sendmail.in index c1a86cb..3ade92a 100644 --- a/debian/local/sendmail.in +++ b/debian/local/sendmail.in @@ -73,11 +73,6 @@ Get_Parameters () { . @sysconfdir@/mail/sendmail.conf; fi; - # Sanitize some keyword entries - DAEMON_MODE=$(echo "$DAEMON_MODE" | tr '[:upper:]' '[:lower:]'); - QUEUE_MODE=$(echo "$QUEUE_MODE" | tr '[:upper:]' '[:lower:]'); - MSP_MODE=$(echo "$MSP_MODE" | tr '[:upper:]' '[:lower:]'); - # These can't be user customized SM_Get_Parameters='yes'; PATH='/bin:/usr/bin:/sbin:/usr/sbin'; @@ -129,6 +124,11 @@ Get_Parameters () { # Support for coexistance with smtpd package SMTPD='/usr/sbin/smtpd'; + # Sanitize some keyword entries + DAEMON_MODE=$(echo "$DAEMON_MODE" | tr '[:upper:]' '[:lower:]'); + QUEUE_MODE=$(echo "$QUEUE_MODE" | tr '[:upper:]' '[:lower:]'); + MSP_MODE=$(echo "$MSP_MODE" | tr '[:upper:]' '[:lower:]'); + # See if we can share the listener and queue-runner daemon: # * Both must be in daemon mode # * They must have the same (possibly empty) parameters diff --git a/debian/local/update_sendmail b/debian/local/update_sendmail index 900044e..c0d80bb 100644 --- a/debian/local/update_sendmail +++ b/debian/local/update_sendmail @@ -54,6 +54,7 @@ if [ -x $sm_path/update_conf ]; then # sure it is compatible with the current executables. if [ -x $sm_path/update_mc ]; then $sm_path/update_mc || changed=1; + rm -f /etc/mail/databases || true; $sm_path/parse_mc || true; fi; |