On Wed, Mar 13, 2019 at 06:19:25PM +0100, Francesc Peñalvez wrote: > The correct way is this i think > > make makefiles CCARGS="-DUSE_TLS -DUSE_SASL_AUTH -DUSE_CYRUS_SASL \ > -I/usr/include/sasl" AUXLIBS="-L/usr/lib -lsasl2 -lssl -lcrypto"
Yes, as documented in: http://www.postfix.org/SASL_README.html#sasl_support but with the libraries and headers in /usr rather than /usr/local. The "-L/usr/lib" is not generally needed, but if your compiler looks somewhere else first, and you don't want it to in this case, then this is OK. -- Viktor.