Christoph Zimmermann via Postfix-users: > The setting for cyrus_sasl_config_path is ignored.
Apparently, ignored by the Cyrus SASL library. > Specifying this in main.cf doesn't have any effect as only the standard > locations are > searched for smtpd.conf as the following strace snippet shows: > > openat(AT_FDCWD, "/etc/postfix/sasl/smtpd.conf", O_RDONLY) = -1 ENOENT (No > such file or > directory) > openat(AT_FDCWD, "/usr/lib/sasl/smtpd.conf", O_RDONLY) = -1 ENOENT (No such > file or directory) Depending on the Cyrus SASL version, Postfix either passes the search path to the Cyrus SASL library, or it logs a warning: if (*var_cyrus_conf_path) { #ifdef SASL_PATH_TYPE_CONFIG /* Cyrus SASL 2.1.22 */ if (sasl_set_path(SASL_PATH_TYPE_CONFIG, var_cyrus_conf_path) != SASL_OK) msg_warn("failed to set Cyrus SASL configuration path: \"%s\"", var_cyrus_conf_path); #else msg_warn("%s is not empty, but setting the Cyrus SASL configuration " "path is not supported with SASL library version %d.%d.%d", VAR_CYRUS_CONF_PATH, SASL_VERSION_MAJOR, SASL_VERSION_MINOR, SASL_VERSION_STEP); #endif } Assuming that Postfix did not log the warning, the cyrus_sasl_config_path was ignored by the Cyrus SASL library. Unlike other functions, this one does not appear to have be any documentation. Wietse _______________________________________________ Postfix-users mailing list -- postfix-users@postfix.org To unsubscribe send an email to postfix-users-le...@postfix.org