summaryrefslogtreecommitdiff
path: root/postfix
diff options
context:
space:
mode:
authorJonas Smedegaard <dr@jones.dk>2007-12-11 14:29:54 +0000
committerJonas Smedegaard <dr@jones.dk>2007-12-11 14:29:54 +0000
commitdcd1bb5eb0ef88701ade2d81e7f3ea6c2a6e45bc (patch)
tree6f8bbd38d83ef0a1163cda3e238e065ae7f347cb /postfix
parentafd0c5fe060fa28d052498039023eee9fc11fc3f (diff)
Fix hardcoded confdir.
Diffstat (limited to 'postfix')
-rwxr-xr-xpostfix/postfix.sh4
1 files changed, 2 insertions, 2 deletions
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 <dr@jones.dk>
#
-# $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