From ce57e8a7e0379a2a8f4481922a5eb27aee0caf24 Mon Sep 17 00:00:00 2001 From: Jonas Smedegaard Date: Sat, 21 Jun 2003 15:27:50 +0000 Subject: Use /var/spool/postfix for encryption cache files. --- postfix/postfix.sh | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'postfix') diff --git a/postfix/postfix.sh b/postfix/postfix.sh index 2de9fee..5381df3 100755 --- a/postfix/postfix.sh +++ b/postfix/postfix.sh @@ -3,7 +3,7 @@ # /etc/local-COMMON/postfix/postfix.sh # Copyright 2002-2003 Jonas Smedegaard # -# $Id: postfix.sh,v 1.18 2003-06-11 17:46:41 jonas Exp $ +# $Id: postfix.sh,v 1.19 2003-06-21 15:27:50 jonas Exp $ # # Auto-tweak plain installed postfix Debian package # @@ -74,7 +74,8 @@ if [ -f /usr/lib/postfix/tlsmgr -a -f /usr/lib/sasl/libplain.so -a -f /etc/ssl/c fi $postconf -e 'smtpd_tls_loglevel = 1' $postconf -e 'smtpd_use_tls = yes' - $postconf -e 'smtpd_tls_session_cache_database = sdbm:/etc/postfix/smtpd_scache' + $postconf -e 'smtpd_tls_session_cache_database = sdbm:/var/spool/postfix/smtpd_scache' + $postconf -e 'tls_random_exchange_name = /var/spool/postfix/prng_exch' $postconf -e 'smtpd_tls_auth_only = yes' $postconf -e 'smtpd_sasl_auth_enable = no' $postconf -e 'smtpd_sasl_security_options = noanonymous' @@ -98,7 +99,7 @@ if [ -f /usr/lib/postfix/tlsmgr -a -f /usr/lib/sasl/libplain.so -a -f /etc/ssl/c $postconf -e 'smtp_use_tls = yes' $postconf -e 'smtp_tls_CApath = /etc/ssl/certs' $postconf -e 'smtp_tls_note_starttls_offer = no' # Enable to collect info for smtp_tls_per_site option - $postconf -e 'smtp_tls_session_cache_database = sdbm:/etc/postfix/smtp_scache' + $postconf -e 'smtp_tls_session_cache_database = sdbm:/var/spool/postfix/smtp_scache' # This makes Netscape ask for a certificate, so make sure it IS public! $postconf -e 'smtpd_tls_ask_ccert = yes' fi -- cgit v1.2.3