Discussion:
Specify saslauthd state directory to imapd in build
Andrew Bernard
2018-07-02 01:39:50 UTC
Permalink
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
Alexander Dalloz
2018-07-02 04:57:33 UTC
Permalink
Post by 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).
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
Alexander Dalloz
2018-07-02 05:07:10 UTC
Permalink
Post by Alexander Dalloz
Post by Andrew Bernard
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
Little correction, it is the options.html file you should consult:

https://www.sendmail.org/~ca/email/cyrus2/options.html
Post by Alexander Dalloz
Alexander
Alexander



----
Cyrus Home Page: http://www.cyrusimap.org/
List Archives/Info: http://lists.andrew.cmu.edu/pipermail/info-cyrus/
To Unsubscribe:
https://lists.andrew.cmu.edu/mailman/lis

Loading...