summaryrefslogtreecommitdiff
path: root/postfix
diff options
context:
space:
mode:
authorJonas Smedegaard <dr@jones.dk>2007-07-18 15:56:25 +0000
committerJonas Smedegaard <dr@jones.dk>2007-07-18 15:56:25 +0000
commita38e6bc916a738e0f1a2a375291e7801b3f5824c (patch)
treeacc160c6ef6fe2a4d668ea98018f0cfc2c50232d /postfix
parent39a86da0d5efb1cd8a773637de9f821c1a798180 (diff)
Add TLS CApath for smtp, smtpd and lmtp.
Diffstat (limited to 'postfix')
-rwxr-xr-xpostfix/postfix.sh5
1 files changed, 4 insertions, 1 deletions
diff --git a/postfix/postfix.sh b/postfix/postfix.sh
index 6c9ad5b..3ee1a6c 100755
--- a/postfix/postfix.sh
+++ b/postfix/postfix.sh
@@ -3,7 +3,7 @@
# /etc/local-COMMON/postfix/postfix.sh
# Copyright 2002-2007 Jonas Smedegaard <dr@jones.dk>
#
-# $Id: postfix.sh,v 1.50 2007-07-12 19:37:41 jonas Exp $
+# $Id: postfix.sh,v 1.51 2007-07-18 15:56:25 jonas Exp $
#
# Auto-tweak plain installed postfix Debian package
#
@@ -158,6 +158,9 @@ if [ -n "$sasl2" ] && [ -f /etc/ssl/certs/postfix.pem ]; then
fi
$postconf -e 'smtpd_tls_loglevel = 1'
$postconf -e 'smtpd_use_tls = yes'
+ $postconf -e 'smtp_tls_CApath = /etc/ssl/certs'
+ $postconf -e 'smtpd_tls_CApath = /etc/ssl/certs'
+ $postconf -e 'lmtp_tls_CApath = /etc/ssl/certs'
$postconf -e 'smtpd_tls_key_file = /etc/ssl/private/postfix.pem'
$postconf -e 'smtpd_tls_session_cache_database = btree:/var/spool/postfix/smtpd_scache'
$postconf -e 'smtpd_tls_session_cache_timeout = 3600s'