Merge branch 'master' of github.com:tomav/docker-mailserver
This commit is contained in:
commit
bfecb65947
|
@ -33,6 +33,8 @@ smtp_tls_protocols=!SSLv2,!SSLv3
|
||||||
smtpd_tls_mandatory_ciphers = high
|
smtpd_tls_mandatory_ciphers = high
|
||||||
smtpd_tls_mandatory_protocols = !SSLv2, !SSLv3
|
smtpd_tls_mandatory_protocols = !SSLv2, !SSLv3
|
||||||
smtpd_tls_exclude_ciphers = aNULL, LOW, EXP, MEDIUM, ADH, AECDH, MD5, DSS, ECDSA, CAMELLIA128, 3DES, CAMELLIA256, RSA+AES, eNULL
|
smtpd_tls_exclude_ciphers = aNULL, LOW, EXP, MEDIUM, ADH, AECDH, MD5, DSS, ECDSA, CAMELLIA128, 3DES, CAMELLIA256, RSA+AES, eNULL
|
||||||
|
smtpd_tls_CApath = /etc/ssl/certs
|
||||||
|
smtp_tls_CApath = /etc/ssl/certs
|
||||||
|
|
||||||
# Settings to prevent SPAM early
|
# Settings to prevent SPAM early
|
||||||
smtpd_helo_required = yes
|
smtpd_helo_required = yes
|
||||||
|
|
|
@ -264,6 +264,7 @@ SA_KILL=${SA_KILL:="6.31"} && sed -i -r 's/^\$sa_kill_level_deflt (.*);/\$sa_kil
|
||||||
test -e /tmp/docker-mailserver/spamassassin-rules.cf && cp /tmp/docker-mailserver/spamassassin-rules.cf /etc/spamassassin/
|
test -e /tmp/docker-mailserver/spamassassin-rules.cf && cp /tmp/docker-mailserver/spamassassin-rules.cf /etc/spamassassin/
|
||||||
|
|
||||||
if [ "$ENABLE_FAIL2BAN" = 1 ]; then
|
if [ "$ENABLE_FAIL2BAN" = 1 ]; then
|
||||||
|
echo "Fail2ban enabled"
|
||||||
test -e /tmp/docker-mailserver/fail2ban-jail.cf && cp /tmp/docker-mailserver/fail2ban-jail.cf /etc/fail2ban/jail.local
|
test -e /tmp/docker-mailserver/fail2ban-jail.cf && cp /tmp/docker-mailserver/fail2ban-jail.cf /etc/fail2ban/jail.local
|
||||||
else
|
else
|
||||||
# Disable logrotate config for fail2ban if not enabled
|
# Disable logrotate config for fail2ban if not enabled
|
||||||
|
@ -303,6 +304,7 @@ cron
|
||||||
# Enable Managesieve service by setting the symlink
|
# Enable Managesieve service by setting the symlink
|
||||||
# to the configuration file Dovecot will actually find
|
# to the configuration file Dovecot will actually find
|
||||||
if [ "$ENABLE_MANAGESIEVE" = 1 ]; then
|
if [ "$ENABLE_MANAGESIEVE" = 1 ]; then
|
||||||
|
echo "Sieve management enabled"
|
||||||
mv /etc/dovecot/protocols.d/managesieved.protocol.disab /etc/dovecot/protocols.d/managesieved.protocol
|
mv /etc/dovecot/protocols.d/managesieved.protocol.disab /etc/dovecot/protocols.d/managesieved.protocol
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue