On Tue, Aug 05, 2014 at 11:25:44AM +0400, Sergey wrote: > 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 >
Don't chroot, or copy the relevant files into the chroot jail. -- Viktor.