I need help compiling postfix with tls an sasl

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

I need help compiling postfix with tls an sasl

Francesc Peñalvez-2
is this  correct

make makefiles CCARGS="-DUSE_SASL_AUTH -DUSE_CYRUS_SASL \
     -I/usr/include/sasl" AUXLIBS="-L/usr/lib -lsasl2 -lssl -lcrypto"

i compile with this options but when mail arriving i get this in log


warning: TLS has been selected, but TLS support is not compiled in



smime.p7s (5K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: I need help compiling postfix with tls an sasl [Solved]

Francesc Peñalvez-2
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"

El 13/03/2019 a las 18:08, Francesc Peñalvez escribió:

> is this  correct
>
> make makefiles CCARGS="-DUSE_SASL_AUTH -DUSE_CYRUS_SASL \
>     -I/usr/include/sasl" AUXLIBS="-L/usr/lib -lsasl2 -lssl -lcrypto"
>
> i compile with this options but when mail arriving i get this in log
>
>
> warning: TLS has been selected, but TLS support is not compiled in
>
>


smime.p7s (5K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: I need help compiling postfix with tls an sasl [Solved]

Viktor Dukhovni
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.