Bug#820145: Sendmail-bin moves /etc/mail/ssl to /etc/mail/tls even when both directories exist
Package: sendmail-base
Version: 8.14.4-4+deb7u1
Severity: minor
I have /etc/mail/tls and also /etc/mail/ssl which contains dhparam.pem.
On upgrading sendmail-base the pre-inst script does:
# Move files to new home
if [ -d /etc/mail/ssl ]; then
mv -f /etc/mail/ssl /etc/mail/tls;
fi;
;;
This, then promptly breaks TLS email as sendmail.mc refers tot he
dhparam.pem in the old directory which no longer exists.
This script ought to check if both directories exist and, if so, not
move /etc/mail/ssl/ to /etc/mail/tls/ssl/
Reply to: