summaryrefslogtreecommitdiff
path: root/postfix
diff options
context:
space:
mode:
authorJonas Smedegaard <dr@jones.dk>2003-01-04 00:10:04 +0000
committerJonas Smedegaard <dr@jones.dk>2003-01-04 00:10:04 +0000
commita0edc49053fd80aa27d2fce1ca5005514f04132d (patch)
treecc7116accac38b474a435ed7badb387e6cb0a206 /postfix
parent112bd06c3b68e43c9dfb4f583fa9adde56bf2385 (diff)
Avoid $items (they seem to not work correctly).
Diffstat (limited to 'postfix')
-rwxr-xr-xpostfix/postfix.sh8
1 files changed, 4 insertions, 4 deletions
diff --git a/postfix/postfix.sh b/postfix/postfix.sh
index 14d2cf3..8aec78f 100755
--- a/postfix/postfix.sh
+++ b/postfix/postfix.sh
@@ -3,7 +3,7 @@
# /etc/local-COMMON/postfix/postfix.sh
# Copyright 2002 Jonas Smedegaard <dr@jones.dk>
#
-# $Id: postfix.sh,v 1.5 2002-12-31 15:26:14 jonas Exp $
+# $Id: postfix.sh,v 1.6 2003-01-04 00:10:04 jonas Exp $
#
# Auto-tweak plain installed postfix Debian package
#
@@ -66,12 +66,12 @@ if dpkg -L libsasl-modules-plain &> /dev/null && [ -f /etc/ssl/certs/postfix.pem
# (it is assumed that a CA certificate is made public if used!)
if [ -f /etc/ssl/certs/cacert.pem ]; then
/usr/sbin/postconf -e 'smtpd_tls_CAfile = /etc/ssl/certs/cacert.pem'
- /usr/sbin/postconf -e 'smtp_tls_CAfile = $smtpd_tls_CAfile'
- /usr/sbin/postconf -e 'smtp_tls_cert_file = /etc/ssl/certs/postfix.pem'
# Client side TLS only makes sense if a publicly available certificate is available
# (and DON'T publish a self-signed certificate!)
+ /usr/sbin/postconf -e 'smtp_tls_CAfile = /etc/ssl/certs/cacert.pem'
+ /usr/sbin/postconf -e 'smtp_tls_cert_file = /etc/ssl/certs/postfix.pem'
if [ -f /etc/ssl/private/postfix.pem ]; then
- /usr/sbin/postconf -e 'smtp_tls_key_file = $smtpd_tls_key_file'
+ /usr/sbin/postconf -e 'smtp_tls_key_file = /etc/ssl/private/postfix.pem'
fi
/usr/sbin/postconf -e 'smtp_tls_loglevel = 1'
/usr/sbin/postconf -e 'smtp_use_tls = yes'