From 6db698ad802d5e18df3a4a22762b54a47f68a470 Mon Sep 17 00:00:00 2001 From: Jonas Smedegaard Date: Mon, 30 Dec 2002 21:34:50 +0000 Subject: Fix sed line enabling TLS-only ports in master.conf. --- postfix/anti-uce.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'postfix/anti-uce.sh') diff --git a/postfix/anti-uce.sh b/postfix/anti-uce.sh index 233652a..71a5229 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 -- cgit v1.2.3