Specify saslauthd state directory to imapd in build

Alexander Dalloz ad+lists at uni-x.org
Mon Jul 2 00:57:33 EDT 2018


Am 02.07.2018 um 03:39 schrieb Andrew Bernard:
> I am having trouble with getting imapd and saslauthd to work together on
> Ubuntu 18.04, using the recent Cyrus imapd (3.0.7) and sasl (2.1.26)
> releases. Using postfix (3.3.1), I have the saslauthd state directory in
> /var/run/saslauthd (and also in the chroot'd postfix directory hierarchy).
> For days I have had this error:
> 
> cyrus/imap[nnnn]: SASL cannot connect to saslauthd server: No such file or
> directory
> 
> To come to the point, finally I ran strace on imapd and found it is trying
> to open /var/state/saslauthd. I believe this is the default for saslauthd.
> 
> I am unable to decipher which configure options to build cyrus-imapd with
> to change this directory name.
> 
> Any assistance most appreciated.
> 
> Andrew

man 5 imapd.conf

sasl_option: 0
     Any SASL option can be set by preceding it with "sasl_". This file 
overrides the SASL configuration file.

And then see the documentation of saslauthd. Should ship with your 
version locally. Anyhow

https://blog.sys4.de/cyrus-sasl-saslauthd-man-page-en.html

Alexander






More information about the Info-cyrus mailing list