diff options
-rwxr-xr-x | postfix/anti-uce.sh | 2 |
1 files changed, 1 insertions, 1 deletions
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 |