Additional exim config
This commit is contained in:
parent
36833a3510
commit
4a415b94bd
|
@ -844,6 +844,9 @@ function install_email {
|
||||||
if ! grep -q "tls_on_connect_ports=465" /etc/exim4/exim4.conf.template; then
|
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
|
sed -i '/SSL configuration for exim/i\tls_on_connect_ports=465' /etc/exim4/exim4.conf.template
|
||||||
fi
|
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
|
adduser $MY_USERNAME sasl
|
||||||
addgroup Debian-exim sasl
|
addgroup Debian-exim sasl
|
||||||
|
|
Loading…
Reference in New Issue