From dcd1bb5eb0ef88701ade2d81e7f3ea6c2a6e45bc Mon Sep 17 00:00:00 2001 From: Jonas Smedegaard Date: Tue, 11 Dec 2007 14:29:54 +0000 Subject: Fix hardcoded confdir. --- postfix/postfix.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'postfix') diff --git a/postfix/postfix.sh b/postfix/postfix.sh index 93f49ad..e3f8e0d 100755 --- a/postfix/postfix.sh +++ b/postfix/postfix.sh @@ -3,7 +3,7 @@ # /etc/local-COMMON/postfix/postfix.sh # Copyright 2002-2007 Jonas Smedegaard # -# $Id: postfix.sh,v 1.62 2007-12-05 10:06:53 jonas Exp $ +# $Id: postfix.sh,v 1.63 2007-12-11 14:29:54 jonas Exp $ # # Auto-tweak plain installed postfix Debian package # @@ -215,7 +215,7 @@ if [ -n "$sasl2" ] && [ -f /etc/ssl/certs/postfix.pem ]; then # Force using TLS for peers catallfilesfromotherrealms mailhost | sort | sed 's/^/[/;s/$/]:submission secure/' > "$tempdir/tls_policy" postmapfiles="$postmapfiles tls_policy" - $postconf -c "$tempdir" -e 'smtp_tls_policy_maps = hash:/etc/postfix/tls_policy' + $postconf -c "$tempdir" -e "smtp_tls_policy_maps = hash:$confdir/tls_policy" else echo >&2 "WARNING: CA certificate not found - consider using proper signed certificates!" fi -- cgit v1.2.3