summaryrefslogtreecommitdiff
path: root/postfix/anti-uce.sh
diff options
context:
space:
mode:
authorJonas Smedegaard <dr@jones.dk>2002-12-30 20:22:34 +0000
committerJonas Smedegaard <dr@jones.dk>2002-12-30 20:22:34 +0000
commit0280c338dea28a7d9e9adac0442ea839a1e0cf17 (patch)
tree8634a93bd9f5390439f0f564f45b2ba2b9bf6be0 /postfix/anti-uce.sh
parentd181eb2c0767717dad2b56d8af6bb062d54e89cd (diff)
Correct error (non-fatal, but always avoided TLS options). Also in last commit: Change cert names to *.pem.
Diffstat (limited to 'postfix/anti-uce.sh')
-rwxr-xr-xpostfix/anti-uce.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/postfix/anti-uce.sh b/postfix/anti-uce.sh
index b80e2fe..d852eb2 100755
--- a/postfix/anti-uce.sh
+++ b/postfix/anti-uce.sh
@@ -22,7 +22,7 @@ postconf -e "`getlinesfromfile smtpd_recipient_restrictions`"
# TLS breaks postfix if no SASL modules available (and doesn't make sense either)
# (change the test if using some other modules and avoid the plain ones)
-if dpkg -L libsasl-modules-plain &> /dev/null && [ -f /etc/ssl/certs/postfix.pem]; then
+if dpkg -L libsasl-modules-plain &> /dev/null && [ -f /etc/ssl/certs/postfix.pem ]; then
mkdir -p $confdir/sasl
echo "pwcheck_method: pam" >$confdir/sasl/smtpd.conf
echo "auto_transition: false" >>$confdir/sasl/smtpd.conf