Subject: Re: bin/37162: No SASL support in postfix
To: None <,,>
From: Jeff Rizzo <>
List: netbsd-bugs
Date: 10/24/2007 21:15:18
The following reply was made to PR bin/37162; it has been noted by GNATS.

From: Jeff Rizzo <>
Subject: Re: bin/37162: No SASL support in postfix
Date: Wed, 24 Oct 2007 13:09:05 -0700 wrote:
 >> Number:         37162
 >> Category:       bin
 >> Synopsis:       No SASL support in postfix
 >> Confidential:   no
 >> Severity:       non-critical
 >> Priority:       medium
 >> Responsible:    bin-bug-people
 >> State:          open
 >> Class:          change-request
 >> Submitter-Id:   net
 >> Arrival-Date:   Sat Oct 20 20:40:01 +0000 2007
 >> Originator:     Christian Sturm
 >> Release:        NetBSD 4.0RC3
 >> Organization:
 >> Environment:
 >> Description:
 > Postfix was compiled without SASL support.
 > This doesn't allow SMTP AUTH, which is needed in many cases.
 >> How-To-Repeat:
 > Try to use postfix with the option "smtp_sasl_auth_enable = yes" set in
 >> Fix:
 > Compile Postfix with SASL support.
 You can use the default postfix (confirmed in 4.0_RC3) with dovecot
 SASL;  if you need Cyrus, you'll need to build postfix from pkgsrc with
 the appropriate options.
 To get the system postfix working with SASL under 4.0_RC3, I needed to
 configure dovecot (this is the output of "dovecot -n", which is how it's
 different from a default config):
 # 1.0.5: /usr/pkg/etc/dovecot.conf
 protocols: none
 ssl_disable: yes
 login_dir: /var/run/dovecot/login
 login_executable: /usr/pkg/libexec/dovecot/imap-login
 auth default:
     driver: passwd
     driver: passwd
     type: listen
       path: /var/spool/postfix/private/auth
       mode: 432
       user: postfix
       group: postfix
 And, add the following to /etc/postfix/
 smtpd_sasl_type = dovecot
 smtpd_sasl_path = private/auth
 smtpd_sasl_auth_enable = yes