Additional exim config

This commit is contained in:
Bob Mottram 2016-10-17 13:31:24 +01:00
parent 36833a3510
commit 4a415b94bd
1 changed files with 3 additions and 0 deletions

View File

@ -844,6 +844,9 @@ function install_email {
if ! grep -q "tls_on_connect_ports=465" /etc/exim4/exim4.conf.template; then
sed -i '/SSL configuration for exim/i\tls_on_connect_ports=465' /etc/exim4/exim4.conf.template
fi
if ! grep -q "# don't send system passwords" /etc/exim4/exim4.conf.template; then
sed -i "s|don't send system passwords.*|# don't send system passwords unencrypted|g" /etc/exim4/exim4.conf.template
fi
adduser $MY_USERNAME sasl
addgroup Debian-exim sasl