Bernhard D Rohrer wrote:
> Hi all
>> I am trying to run cyrus and postfix with SASL. so far I have managed to
> connect one or the other to saslauthd, but never both at the same time.
> This is due ro postfix's chroot jail. I have not found a way to link
> (soft or hard) the two directories and i have not found a way to tell
> cyrus to use a different directory for the connecting socket. The
> remaining option appears to be to release postfix from it's CHROOT jail
> which i would prefer to avoid.
>> anybody know of a different way?
The trick is to store the REAL socket (of saslauthd) in the
/var/spool/postfix/ directory, and symlinking the directory from
/var/run/saslauthd to /var/spool/postfix/var/run/saslauthd.
This way you don't need to alter anything, the socket just gets dropped
in the symlinked directory. I used that for quite some time and it works
but as dovecot now can do the auth I got rid of all cyrus hackery.
Maintained by the ILUG website team. The aim of Linux.ie is to
support and help commercial and private users of Linux in Ireland. You can
display ILUG news in your own webpages, read backend
information to find out how. Networking services kindly provided by HEAnet, server kindly donated by
Dell. Linux is a trademark of Linus Torvalds,
used with permission. No penguins were harmed in the production or maintenance
of this highly praised website. Looking for the
Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!