summaryrefslogtreecommitdiff
path: root/postfix
diff options
context:
space:
mode:
authorJonas Smedegaard <dr@jones.dk>2003-06-21 15:27:50 +0000
committerJonas Smedegaard <dr@jones.dk>2003-06-21 15:27:50 +0000
commitce57e8a7e0379a2a8f4481922a5eb27aee0caf24 (patch)
tree52ffcc55710bc703e1a354bf6df4c5ad42271d36 /postfix
parente8cba846eee37efd1425ccd440659b991f44cadc (diff)
Use /var/spool/postfix for encryption cache files.
Diffstat (limited to 'postfix')
-rwxr-xr-xpostfix/postfix.sh7
1 files changed, 4 insertions, 3 deletions
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 <dr@jones.dk>
#
-# $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