Subject: Re: Enabling SASL authentication in Postfix SMTP client
To: Ja'far Railton <ibn.richard@gmail.com>
From: Ja'far Railton <ibn.richard@gmail.com>
List: netbsd-help
Date: 09/15/2006 00:18:55
On Thu, Sep 07, 2006 at 08:21:37PM +0000, Ja'far Railton wrote:
> Hello
> 
> I was hoping to be able to switch over to native postfix (using mail/sendmail
> now) but have hit a snag with the above. I gather that the native postfix is
> built without the options needed for client-side authentication to an
> exteral mailserver.
> 
> --
> From ../SASL_README
> --
> Postfix version 2.3 introduces a plug-in mechanism that provides support
> for multiple SASL implementations. To find out what implementations are
> built into Postfix, use the following commands: 
> % postconf -a (SASL support in the SMTP server)
> % postconf -A (SASL support in the SMTP+LMTP client)
> 
> --
> So...
> --
> % postconf -a
> dovecot
> % postconf -A
> %
> 
> __
> /var/log/maillog says:
> ___
> Sep  7 08:44:22 think postfix/smtp[9801]: warning: unsupported SASL
> client implementation: cyrus
> Sep  7 08:44:22 think postfix/smtp[9801]: fatal: SASL library
> initialization
> Sep  7 08:44:23 think postfix/master[691]: warning: process
> /usr/libexec/postfix/smtp pid 9801 exit status 1
> Sep  7 08:44:23 think postfix/master[691]: warning: /usr/libexec/postf
> 
> So, how can it be enabled in a rebuild? (I don't want to use pkgsrc/../postfix,
> where I gather something like -DUSE_CYRUS_SASL (in mk.conf?) would DTRT.)

Judging from a thread called ``Postfix and SQL'' from current-users list
in May this year it seems - by analogy - that this is *not* supported
natively and that postfix from pkgsrc is the way to go.
   
Someone correct me if I'm wrong.