From 3314548c9846d7b4b556d6fc3dbbd2ad05c92341 Mon Sep 17 00:00:00 2001 From: Jonas Smedegaard Date: Tue, 27 Mar 2012 12:26:37 +0200 Subject: Fix support no SASL available. --- postfix/postfix.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'postfix/postfix.sh') 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' -- cgit v1.2.3