From: =?ISO-8859-1?Q?Wilberth_P=E9rez?= on
Hi everyone:

is correct this compile option on postfix for integrate dovecot and sasl
authentication?

make makefiles CCARGS=" -DHAS_SSL -DUSE_SASL_AUTH
-I/usr/local/ssl/include -I/usr/local/include/sasl
-I/usr/local/BerkeleyDB/include" AUXLIBS="-L/usr/local/lib
-L/usr/local/ssl/lib -L/usr/local/lib/sasl -L/usr/local/BerkeleyDB/lib
-lssl -lcrypto -lsasl -ldb"

--
--------------------------------------------------------
LCC Wilberth de Jes�s P�rez Segura CCSA- Administraci�n de Servicios y Seguridad de las TI
Correo: wilberth.perez(a)uady.mx
Universidad Aut�noma de Yucat�n
Secretar�a General
Coordinaci�n Administrativa de Tecnolog�as de Informaci�n
RIUADY
C-59 x Av. Itz�es (999)923-74-28 Ext. 1117
M�rida, Yucat�n, M�xico 2010
--------------------------------------------------------

From: zhong ming wu on
2010/5/12 Wilberth Pérez <wilberth.perez(a)uady.mx>:
>
> make makefiles CCARGS=" -DHAS_SSL -DUSE_SASL_AUTH
> -I/usr/local/ssl/include -I/usr/local/include/sasl
> -I/usr/local/BerkeleyDB/include" AUXLIBS="-L/usr/local/lib
> -L/usr/local/ssl/lib -L/usr/local/lib/sasl -L/usr/local/BerkeleyDB/lib
> -lssl -lcrypto -lsasl -ldb"


-l/usr/local/include/sasal
and
-lsasl

isn't necessary. dovecot sasl auth is simple socket communication

You may include

-DDEF_SERVER_SASL_TYPE=\"dovecot\"

but even that isn't necessary.

Read

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