Installing on Fedora

Dave Close dave at compata.com
Fri Sep 20 15:19:21 EDT 2019


I wrote:

> Trying to get Cyrus working on Fedora 30 by following instructions at
> <https://www.cyrusimap.org/imap/download/installation/distributions/fedora.html>
> but having some trouble.
> 
> # dnf install cyrus-imapd cyrus-sasl cyrus-sasl-plain
> # passwd cyrus
> # systemctl start saslauthd
> # systemctl enable saslauthd
> Everything worked correctly.
> 
> # testsaslauthd -u cyrus -p YOUR-PASSWORD
> 0: OK "Success."
> 
> # systemctl start cyrus-imapd
> # systemctl enable cyrus-imapd
> Everything worked correctly.
> 
> # imtest -t "" -u cyrus -a cyrus localhost
> S: * OK [CAPABILITY IMAP4rev1 LITERAL+ ID ENABLE STARTTLS
> AUTH=SCRAM-SHA-1 AUTH=SCRAM-SHA-256
> AUTH=GSSAPI AUTH=GSS-SPNEGO AUTH=DIGEST-MD5 AUTH=CRAM-MD5 AUTH=LOGIN
> AUTH=PLAIN SASL-IR]
> d7010.compata.com Cyrus IMAP 3.0.10-1.fc30 Fedora server ready
> C: S01 STARTTLS
> S: S01 NO Error initializing TLS
> Please enter your password:
> C: A01 AUTHENTICATE SCRAM-SHA-1
> bixhPWN5cnVzLG49Y3lydXMscj1ES01aRmVyWlpaOFBoQ2NiK2lrQlQ5ZENnMXd5NDBw
> UQ==
> S: A01 NO generic failure
> Authentication failed. generic failure
> 
> What am I missing? The "generic failure" message does not give me any
> clue how to proceed. Searching for that message online also did not
> return any useful results.

Alexander Dalloz answered:

> Check how cyrus-imapd is configured. Does it really use saslauthd as its 
> credential backend?

/etc/imap.conf is the default from the Fedora RPM. It contains this
line:

sasl_pwcheck_method: saslauthd
-- 
         Dave Close, Compata, Irvine CA       +1 714 434 7359
       dave at compata.com              dhclose at alumni.caltech.edu
                          Ralph Waldo Emerson:
       "A foolish consistency is the hobgoblin of little minds,
        adored by little statesmen and philosophers and divines.
        With consistency a great soul has simply nothing to do."



More information about the Cyrus-sasl mailing list