From owner-freebsd-questions Wed Sep 26 8:41:55 2001 Delivered-To: freebsd-questions@freebsd.org Received: from camel.kdsi.net (camel.kdsi.net [206.103.113.218]) by hub.freebsd.org (Postfix) with ESMTP id 3C75A37B41A for ; Wed, 26 Sep 2001 08:41:52 -0700 (PDT) Received: from camel.kdsi.net (leepcD-144.sub-d.lee.net [208.205.127.144]) (authenticated (0 bits)) by camel.kdsi.net (8.12.0.Beta19/8.12.0.Beta10) with ESMTP id f8QFew13043412; Wed, 26 Sep 2001 10:40:59 -0500 (CDT) Message-ID: <3BB1F736.5521DF9@camel.kdsi.net> Date: Wed, 26 Sep 2001 10:41:42 -0500 From: Tony Wells X-Mailer: Mozilla 4.77 [en] (X11; U; Linux 2.2.12 i386) X-Accept-Language: en MIME-Version: 1.0 To: Marko Cuk Cc: freebsd-questions@FreeBSD.ORG Subject: Re: Cyrus & sasl problems References: <3BB18B13.4A9BA11A@xenya.si> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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