Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 26 Sep 2001 10:41:42 -0500
From:      Tony Wells <tony@camel.kdsi.net>
To:        Marko Cuk <cuk@xenya.si>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: Cyrus & sasl problems
Message-ID:  <3BB1F736.5521DF9@camel.kdsi.net>
References:  <3BB18B13.4A9BA11A@xenya.si>

next in thread | previous in thread | raw e-mail | index | archive | help
Marko Cuk wrote:
> 
> I have installed cyrus-imapd port with sasl.
> 
> It just don't work with sasldb. If I try to login to POP - port 110 , it
> +OK mailer.cuk.nu Cyrus POP3 v2.0.16 server ready
> +OK Name is a valid mailbox
> -ERR Invalid login
> 
> User is created in cyradm
> root@mailer:/usr/local/etc# cyradm -u root localhost
> Please enter your password:
> localhost.xenya.si> lm
> cuk
> 
> imapd.conf
> configdirectory: /var/imap
> partition-default: /var/spool/imap
> admins: admin cyrus
> sieveusehomedir: false
> sievedir: /var/imap/sieve
> sasl_pwcheck_method: pwcheck
-----------------------^

If you're trying to authenticate from the sasldb, try changing that line
to this:

sasl_pwcheck_method: sasldb

> 
> sasldblistusers
> root@mailer:/usr/local/etc# sasldblistusers
> user: cyrus realm: mailer.cuk.nu mech: PLAIN
> user: cyrus realm: mailer.cuk.nu mech: CRAM-MD5
> user: cuk realm: mailer.cuk.nu mech: DIGEST-MD5
> user: root realm: mailer.cuk.nu mech: PLAIN
> user: root realm: mailer.cuk.nu mech: CRAM-MD5
> user: cyrus realm: mailer.cuk.nu mech: DIGEST-MD5
> user: cuk realm: mailer.cuk.nu mech: PLAIN
> user: cuk realm: mailer.cuk.nu mech: CRAM-MD5
> user: root realm: mailer.cuk.nu mech: DIGEST-MD5
> 
> Can anyone help me with  a hint ? The documentation is pretty bad.
> What about to use other type of authentication - mysql for example ?
> 
> Thanks, Cuk
> 
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-questions" in the body of the message

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3BB1F736.5521DF9>