diff options
-rwxr-xr-x | postfix/postfix.sh | 8 |
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' |