Subject: Re: Postfix+TLS+SASL
To: Sebastian Krohn <seb@gaia.sunn.de>
From: Martti Kuparinen <martti.kuparinen@iki.fi>
List: netbsd-help
Date: 10/16/2002 16:24:33
On Wed, 16 Oct 2002, Sebastian Krohn wrote:

> > how can i change the configuration parameters in Postfix, i will enable TLS
> > && SASL, which are OFF by default , IIRC.
>
> For running Postfix with SASL you have to install cyrus-sasl (it's
> in /usr/pkgsrc/security/cyrus-sasl/) and the recompile Postfix with
> SASL-Support:
>
> --- snip ---
> cd /usr/pkgsrc/mail/postfix
>
> make CCARGS="-DUSE_SASL_AUTH -I/usr/pkg/include" AUXLIBS="-L/usr/pkg/lib -lsasl"
> --- snip ---

The "right" way of doing this is:

# export POSTFIX_USE_TLS=YES	# Or add "POSTFIX_USE_TLS=YES" to /etc/mk.conf
# export USE_SASL=YES		# Or add "USE_SASL=YES" to /etc/mk.conf
# make install

See pkgsrc/mail/postfix/Makefile for other options...

Martti

---
Martti Kuparinen <martti.kuparinen@iki.fi>      NetBSD - No media hype
http://www.iki.fi/kuparine/                     http://www.netbsd.org/