summaryrefslogtreecommitdiff
path: root/debian/local/update_notices
diff options
context:
space:
mode:
Diffstat (limited to 'debian/local/update_notices')
-rw-r--r--debian/local/update_notices39
1 files changed, 37 insertions, 2 deletions
diff --git a/debian/local/update_notices b/debian/local/update_notices
index 522c1ef..b1db47b 100644
--- a/debian/local/update_notices
+++ b/debian/local/update_notices
@@ -17,7 +17,7 @@ set -e;
notices=0;
version=$1;
export LANG=C; # for the comparison of mail version...
-
+exit 0;
#-----------------------------------------------------------------------------
# Notice Item
#-----------------------------------------------------------------------------
@@ -50,9 +50,44 @@ if [ -z "$version" ]; then
fi;
#-----------------------------------------------------------------------------
+if test ! -z "$version" && \
+ (dpkg --compare-versions "$version" lt "00.00.00-00"); then
+ :
+ Notice_Item <<-EOT;
+ EOT
+ fi;
+
+#-----------------------------------------------------------------------------
+if test ! -z "$version" && \
+ (dpkg --compare-versions "$version" lt "8.12.10-5"); then
+ Notice_Item <<-EOT;
+
+ 7 -> 8 bit (QP/Base64) decoding is no longer done by default as it
+ doesn't respect character set differences (ie, utf-8).
+
+ If you wish to keep this functionality, you'll need to update your
+ sendmail.mc to include the following line:
+ MODIFY_MAILER_FLAGS(\`local', \`+9') # mime7to8
+ EOT
+ fi;
+
+#-----------------------------------------------------------------------------
if test ! -z "$version" && \
- (dpkg --compare-versions "$version" lt "00.00.00-00"); then
+ (dpkg --compare-versions "$version" lt "8.12.10-5"); then
Notice_Item <<-EOT;
+
+ ---> IMPORTANT NOTICE <---
+ If you want to use TLS and/or AUTH, you *MUST* update your
+ sendmail.mc and optionally submit.mc for these to work !
+
+ If you do *NOT* update prior to sendmail being restarted, those
+ features will simply *STOP* working !!!
+
+ To allow SASL (SMTP AUTH), you must add this line to /etc/mail/sendmail.mc:
+ include(\`/etc/mail/sasl/sasl.m4')dnl
+
+ For TLS (STARTTLS), you need this:
+ include(\`/etc/mail/tls/starttls.m4')dnl
EOT
fi;