summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xpostfix/postfix.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/postfix/postfix.sh b/postfix/postfix.sh
index d52bfa6..b79ff03 100755
--- a/postfix/postfix.sh
+++ b/postfix/postfix.sh
@@ -274,6 +274,7 @@ if [ -n "$sasl_cyrus" ]; then
echo 'tlsmgr unix - - - 300 1 tlsmgr' >> $tempdir/master.cf
fi
case "$sasl_main_type" in
+ '') ;;
dovecot)
$postconf -c "$tempdir" -e smtpd_sasl_type=dovecot
$postconf -c "$tempdir" -e smtpd_sasl_path=private/auth
@@ -283,7 +284,7 @@ case "$sasl_main_type" in
[ -z "$pf23" ] || $postconf -c "$tempdir" -e smtpd_sasl_path=smtpd
[ -n "$pf23" ] || $postconf -c "$tempdir" -e smtpd_sasl_application_name=smtpd
;;
- *) exit1 "ERROR: Wrong SASL type \"$sasl_main_type\"!"
+ *) exit1 "ERROR: Wrong SASL type \"$sasl_main_type\"!";;
esac
if [ -n "$sslcert" ]; then
$postconf -c "$tempdir" -e 'smtpd_tls_cert_file = /etc/ssl/certs/postfix.pem'