diff options
author | Jonas Smedegaard <dr@jones.dk> | 2015-08-31 14:25:00 +0200 |
---|---|---|
committer | Jonas Smedegaard <dr@jones.dk> | 2015-08-31 14:25:00 +0200 |
commit | ea52fa03c785ecd6da3d2e9d4ea4cc18a33ceebd (patch) | |
tree | a8f5e54b1efbbbfa3fb9e9d322a478ae8ff017ed | |
parent | 412329110fb85340481d4a30c55eab04c546db26 (diff) |
Avoid smtpd_tls_CApath or smtpd_tls_CAfile to trick outlook.com.
-rwxr-xr-x | postfix/postfix.sh | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/postfix/postfix.sh b/postfix/postfix.sh index aaa449d..ceb51d0 100755 --- a/postfix/postfix.sh +++ b/postfix/postfix.sh @@ -323,14 +323,16 @@ case "$sasl_main_type" in ;; *) exit1 "ERROR: Wrong SASL type \"$sasl_main_type\"!";; esac +# Avoid smtpd_tls_CApath or smtpd_tls_CAfile to trick outlook.com +# See <http://postfix.1071664.n5.nabble.com/Problems-with-incoming-mails-from-outlook-com-td78356.html> if [ -n "$sslcert" ]; then $postconf -c "$tempdir" -e 'smtpd_tls_cert_file = /etc/ssl/certs/postfix.pem' $postconf -c "$tempdir" -e 'smtpd_tls_loglevel = 1' $postconf -c "$tempdir" -e 'smtpd_use_tls = yes' $postconf -c "$tempdir" -e 'smtp_tls_CApath = /etc/ssl/certs' - $postconf -c "$tempdir" -e 'smtpd_tls_CApath = /etc/ssl/certs' + $postconf -c "$tempdir" -e 'smtpd_tls_CApath = ' $postconf -c "$tempdir" -e 'lmtp_tls_CApath = /etc/ssl/certs' - $postconf -c "$tempdir" -e smtpd_tls_CAfile="${cacert_smtpd:-$cacert_default}" + $postconf -c "$tempdir" -e 'smtpd_tls_CAfile = ' $postconf -c "$tempdir" -e smtp_tls_CAfile="${cacert_smtp:-$cacert_default}" $postconf -c "$tempdir" -e lmtp_tls_CAfile="${cacert_lmtp:-$cacert_default}" $postconf -c "$tempdir" -e 'smtpd_tls_session_cache_database = btree:${data_directory}/smtpd_scache' |