diff options
author | root <root@borneuni.dk> | 2008-10-25 13:20:13 +0200 |
---|---|---|
committer | root <root@borneuni.dk> | 2008-10-25 13:20:13 +0200 |
commit | c2c015c471d7d818f33cc4747c4eaf73e86f5df1 (patch) | |
tree | 295b4e7d8742787821e4147bd8b671f0dc05ccc8 | |
parent | 73026e619b4d276add7df3ebcd8e3bf3fe48ce18 (diff) |
Fix postfix tls use data_dir (not queue_dir).
-rwxr-xr-x | postfix/postfix.sh | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/postfix/postfix.sh b/postfix/postfix.sh index 4cd9fe7..2b923e0 100755 --- a/postfix/postfix.sh +++ b/postfix/postfix.sh @@ -222,9 +222,9 @@ if [ -n "$sasl2" ] && [ -n "$sslcert" ]; then $postconf -c "$tempdir" -e 'smtpd_tls_CApath = /etc/ssl/certs' $postconf -c "$tempdir" -e 'lmtp_tls_CApath = /etc/ssl/certs' $postconf -c "$tempdir" -e 'smtpd_tls_key_file = /etc/ssl/private/postfix.pem' - $postconf -c "$tempdir" -e 'smtpd_tls_session_cache_database = btree:${queue_directory}/smtpd_scache' + $postconf -c "$tempdir" -e 'smtpd_tls_session_cache_database = btree:${data_directory}/smtpd_scache' $postconf -c "$tempdir" -e 'smtpd_tls_session_cache_timeout = 3600s' - $postconf -c "$tempdir" -e 'tls_random_exchange_name = ${queue_directory}/prng_exch' + $postconf -c "$tempdir" -e 'tls_random_exchange_name = ${data_directory}/prng_exch' $postconf -c "$tempdir" -e 'smtpd_tls_auth_only = yes' $postconf -c "$tempdir" -e 'smtpd_sasl_auth_enable = no' # SASL is enabled explicitly with TLS transport $postconf -c "$tempdir" -e 'smtpd_sasl_security_options = noanonymous' @@ -248,7 +248,7 @@ if [ -n "$sasl2" ] && [ -n "$sslcert" ]; then $postconf -c "$tempdir" -e 'smtp_use_tls = yes' $postconf -c "$tempdir" -e 'smtp_tls_CApath = /etc/ssl/certs' $postconf -c "$tempdir" -e 'smtp_tls_note_starttls_offer = no' # Enable to collect info for smtp_tls_per_site option - $postconf -c "$tempdir" -e 'smtp_tls_session_cache_database = btree:${queue_directory}/smtp_scache' + $postconf -c "$tempdir" -e 'smtp_tls_session_cache_database = btree:${data_directory}/smtp_scache' # Accepting client certificates breaks SMTP AUTH on OutLook Express on Mac (Classic) $postconf -c "$tempdir" -e 'smtpd_tls_ask_ccert = no' # Force using TLS for peers |