On Wed, 18 Mar 2009, Stacker Hush wrote:

> I'm usign Centos5 and i compile normally postfix with SASL without problem
> (works fine) with this:
> make makefiles CCARGS="-DUSE_SASL_AUTH -DUSE_CYRUS_SASL -I/usr/include/sasl"
> AUXLIBS="-L/usr/lib -lsasl2"

This has the DUSE_CYRUS_SASL flag.
 
> Now i'm trying to compile sasl (for smtp-auth) and TLS. I'm using this:
> make makefiles CCARGS="-DUSE_SASL_AUTH -I/usr/include/sasl -DHAS_SSL
> -I/usr/include/openssl" AUXLIBS="-L/usr/lib -R/usr/lib -lsasl2 -lssl
> -lcrypto"

This does not have the DUSE_CYRUS_SASL flag.  And there is no reference to
TLS.

> when i try to send some message i have this error:
> postfix/master[23959]: daemon started -- version 2.5.6, configuration
> /etc/postfix
> postfix/smtpd[23962]: warning: unsupported SASL server implementation: cyrus
> postfix/smtpd[23962]: fatal: SASL per-process initialization failed
> postfix/master[23959]: warning: process /usr/libexec/postfix/smtpd pid 23962
> exit status 1
> postfix/master[23959]: warning: /usr/libexec/postfix/smtpd: bad command
> startup -- throttling
> 
> Some idea to solve this?

Follow instructions:
http://www.postfix.org/SASL_README.html#build_postfix
http://www.postfix.org/TLS_README.html#build_tls

-- 
Sahil Tandon <[email protected]>

Reply via email to