Martin:
> Today I tried to install postfix 3.7.2 manually. I was enable to include
> MySQL support
> as well as TLS support. But the SASL (sasl2 / cyrus) configuration as
> given by page
> https://www.postfix.org/SASL_README.html does not work at all. When
> trying to 
> send mails the answer of postfix (logging to stdoud) says:
> postfix/smtpd[10184]: warning: smtpd_sasl_auth_enable is true, but SASL
> support is not compiled in

This warning is logged because Postfix was NOT built with -DUSE_SASL_AUTH.

Source code fragment:

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

You can find the build configuration in the makedefs.out file,
created in the Postfix top-level source direstory, or installed as

    $(postconf -h meta_directory)/makedefs.out

I recommend that you use a pre-built package for your OS distribution.
That will solve the startup problem too.

        Wietse

Reply via email to