From owner-freebsd-questions Wed Sep 26 11:36:15 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 F2D3337B403 for ; Wed, 26 Sep 2001 11:35:46 -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 f8QIYt13043846; Wed, 26 Sep 2001 13:34:56 -0500 (CDT) Message-ID: <3BB21FFC.8EB7398D@camel.kdsi.net> Date: Wed, 26 Sep 2001 13:35:40 -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> <3BB1F736.5521DF9@camel.kdsi.net> <3BB2091A.79250732@cuk.nu> 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: > > Yes ! > > It works. Tony, Thanks. > > Now...Do you know, how to make automatic filtering, like procmailrc ? > I have for example FreeBSD lists filtered to one .imap/Freebsd map any procmailrc deliver it to that folder. > Why yes I do... What cyrus uses is a thing called sieve scripts, which you load up on a per-user basis using the command 'sieveshell'. There are three links for example sieve scripts on this page: http://www.cyrusoft.com/sieve/ The good news is that sieve scripting is much easier than getting a running IMAP server. :P > Tnx, Cuk > > Tony Wells wrote: > > > 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