cyrus-sasl and plugin's dirertory

Jan Parcel jan.parcel at
Wed Jun 29 14:02:17 EDT 2016

On 06/29/2016 06:36 AM, Dan White via Cyrus-devel wrote:
> On 06/29/16 12:38 +0400, Sergey via Cyrus-sasl wrote:
>> cyrus-sasl can build with "--with-plugindir=" option.
>> How can application find it ? I see what Cyrus-IMAP,
>> Courier-IMAP and some can do it but Postfix can't.
>> If I found the right place in the code of Postfix
>> it uses a hard definition at compile time:
>>    *path = strdup("/etc/postfix/sasl:@libdir@/sasl2");
>> #else
>>    *path = strdup("/etc/postfix/sasl:@libdir@/sasl");
>> #endif
>> I attempted to lookup to Cyrus-IMAP code but not found
>> implementation search of plugins.
> The plugin path is hard coded within the sasl glue library (libsasl2), 
> and
> can be overridden using the sasl_getpath_t callback.
> See sasl_callbacks(3), and the doc/plugprog.html and doc/programming.html
> files in the source.
I have added a "suggested fix" to longstanding Bug 3401 sasldir and 
plugindir in  I had to make it configurable for Solaris.

I haven't figured out how to send fixes upstream yet, it's only now 
becoming a priority for me.
> Cyrus Devel:
> Is the docs/ directory available on the website? I can't find them.

More information about the Cyrus-devel mailing list