summaryrefslogtreecommitdiff
path: root/postfix
diff options
context:
space:
mode:
authorJonas Smedegaard <dr@jones.dk>2002-12-30 21:38:11 +0000
committerJonas Smedegaard <dr@jones.dk>2002-12-30 21:38:11 +0000
commit04c4e32111a136c19d4dbd1ab6178e97794be491 (patch)
tree2fed76dc0393983476491e827db26de0ad8a7ea6 /postfix
parent6db698ad802d5e18df3a4a22762b54a47f68a470 (diff)
Another sed fix line enabling TLS-only ports in master.conf.
Diffstat (limited to 'postfix')
-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 71a5229..f468b83 100755
--- a/postfix/anti-uce.sh
+++ b/postfix/anti-uce.sh
@@ -31,7 +31,7 @@ if dpkg -L libsasl-modules-plain &> /dev/null && [ -f /etc/ssl/certs/postfix.pem
cp -a $confdir/master.cf $confdir/master.cf.old
cat $confdir/master.cf.old | sed \
-e "s/^\(smtp$sp\+inet\($sp\+[n-]\)\{2\}$sp\+\)[n-]\(\($sp\+-\)\{2\}$sp\+smtpd\).*/\1n\3 -o smtpd_sasl_auth_enable=yes/" \
- -e "s/^#?\(\(smtps\|587\)$sp\+inet\($sp\+[n-]\)\{2\}$sp\+\)[n-]/\1n/" \
+ -e "s/^#\?\(\(smtps\|587\)$sp\+inet\($sp\+[n-]\)\{2\}$sp\+\)[n-]/\1n/" \
> $confdir/master.cf
postconf -e 'smtpd_tls_cert_file = /etc/ssl/certs/postfix.pem'
if [ -f /etc/ssl/private/postfix.pem ]; then