Subject: Enabling SASL authentication in Postfix SMTP client
To: None <netbsd-help@netbsd.org>
From: Ja'far Railton <ibn.richard@gmail.com>
List: netbsd-help
Date: 09/07/2006 20:21:37
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.)

TIA

--
% uname -a
NetBSD think.makhraj.net 4.99.1 NetBSD 4.99.1 (GENERIC_LAPTOP) #1: Sun
Sep  3 18:02:49 UTC 2006
jr0@think.makhraj.net:/usr/obj/sys/arch/i386/compile/GENERIC_LAPTOP i386