Hello.

I need to build SASL with unusual path to plugins. Its "configure"
script contains --with-plugindir option and it works. However,
Postfix does not works with this directory. The error:

postfix/smtpd[5401]: looking for plugins in '/etc/postfix/sasl', failed to open 
directory, error: No such file or directory
postfix/smtpd[5401]: looking for plugins in '/usr/lib/sasl2', failed to open 
directory, error: No such file
postfix/smtpd[5401]: warning: xsasl_cyrus_server_get_mechanism_list: no 
applicable SASL mechanisms
postfix/smtpd[5401]: fatal: no SASL authentication mechanisms

I use "--with-plugindir=%_libdir/sasl2-%abiversion" for build sasl.
It revealed to /usr/lib/sasl2-3.

Some other clients of sasl works properly (and without rebuild its
packages). I tested Cyrus-IMAP and Sendmail. Courier-IMAP works also
(tested not by me). Apparently, it is possible to not use a predefined
path in the client of sasl now ? I can make symbolic link 
/etc/postfix/sasl -> /usr/lib/sasl2-3 but it does not seem elegant
solution.

-- 
Regards,
Sergey

Reply via email to