Many thanks Dr. Venema.
I just compiled with -DUSE_SASL_AUTH flag using these command:

###> make -f Makefile.init makefiles "CCARGS=-DUSE_SASL_AUTH -DHAS_PCRE
`pcre-config --cflags`" "AUXLIBS_PCRE=`pcre-config --libs`"

But compilation exit with:

###############
[src/smtpd]
gcc -I. -I../../include -DUSE_SASL_AUTH -DNO_EAI -DHAS_PCRE
-UUSE_DYNAMIC_LIBS -DDEF_SHLIB_DIR=\"no\" -UUSE_DYNAMIC_MAPS
-Wmissing-prototypes -Wformat -Wno-comment -g -O -I. -I../../include
-DLINUX2 -c smtpd.c
smtpd.c: In function ‘xclient_cmd’:
smtpd.c:4028: error: ‘SMTPD_STATE’ has no member named ‘tls_context’
make: *** [smtpd.o] Error 1
make: *** [update] Error 1
###############

What am I missing?
Whitout USE_SASL_AUTH the compilation is ok!
-Francesco

-----Messaggio originale-----
Da: owner-postfix-us...@postfix.org [mailto:owner-postfix-us...@postfix.org]
Per conto di Wietse Venema
Inviato: martedì 7 aprile 2015 13:15
A: Postfix users
Oggetto: Re: SASL support is not compiled in

i...@itrezero.it:
> QUESTION:
>
> Why postfix tell me that SASL is "not compiled in"?

You did not compile Postfix with SASL support (the CCARGS variable did not
contain "-DUSE_SASL_AUTH").

http://www.postfix.org/SASL_README/html

        Wietse

Source-code fragment:

    if (var_smtpd_sasl_enable)
#ifdef USE_SASL_AUTH
        ...
#else
        msg_warn("%s is true, but SASL support is not compiled in",
                 VAR_SMTPD_SASL_ENABLE); #endif


---
Questa e-mail è stata controllata per individuare virus con Avast antivirus.
http://www.avast.com

Reply via email to