From owner-freebsd-questions@FreeBSD.ORG Mon Aug 21 02:16:18 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7511916A4DA for ; Mon, 21 Aug 2006 02:16:18 +0000 (UTC) (envelope-from dan@langille.org) Received: from m21.unixathome.org (m21.unixathome.org [205.150.199.217]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5CC1143D70 for ; Mon, 21 Aug 2006 02:16:13 +0000 (GMT) (envelope-from dan@langille.org) Received: from localhost (localhost [205.150.199.217]) by m21.unixathome.org (Postfix) with ESMTP id A4746C3C6 for ; Sun, 20 Aug 2006 22:16:23 -0400 (EDT) Received: from m21.unixathome.org ([205.150.199.217]) by localhost (m21.unixathome.org [205.150.199.217]) (amavisd-new, port 10024) with ESMTP id 05786-08 for ; Sun, 20 Aug 2006 22:16:20 -0400 (EDT) Received: from bast.unixathome.org (bast.unixathome.org [70.26.229.230]) by m21.unixathome.org (Postfix) with ESMTP id 9F55BBFB7 for ; Sun, 20 Aug 2006 22:16:20 -0400 (EDT) Received: from [10.55.0.99] (wocker.unixathome.org [10.55.0.99]) by bast.unixathome.org (Postfix) with ESMTP id 465AAB822 for ; Sun, 20 Aug 2006 22:16:08 -0400 (EDT) From: "Dan Langille" To: freebsd-questions@freebsd.org Date: Sun, 20 Aug 2006 22:16:08 -0400 MIME-Version: 1.0 Message-ID: <44E8DF28.273.F89B110@dan.langille.org> Priority: normal X-mailer: Pegasus Mail for Windows (4.31) Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7BIT Content-description: Mail message body X-Virus-Scanned: by amavisd-new-20030616-p10 (Debian) at unixathome.org Subject: setting up imap/sasl X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 21 Aug 2006 02:16:18 -0000 I'm having trouble setting up imap/sasl. Here's what I have: # pkg_info | grep cyrus cyrus-imapd-2.3.7 The cyrus mail server, supporting POP3 and IMAP4 protocols cyrus-sasl-2.1.22 RFC 2222 SASL (Simple Authentication and Security Layer) cyrus-sasl-saslauthd-2.1.22 SASL authentication server for cyrus- sasl2 When I run imtest, I see two problems: 1 - I see only two AUTH= clauses: DIGEST-MD5 and CRAM-MD5. Shouldn't I see one for SASL? 2 - I've been unable to get authorization to work. $ imtest -m login -a admin -u admin polo S: * OK [CAPABILITY IMAP4 IMAP4rev1 LITERAL+ ID AUTH=DIGEST-MD5 AUTH=CRAM-MD5 SASL-IR] polo.unixathome.org Cyrus IMAP4 v2.3.7 server ready C: C01 CAPABILITY S: * CAPABILITY IMAP4 IMAP4rev1 LITERAL+ ID AUTH=DIGEST-MD5 AUTH=CRAM- MD5 SASL-IR ACL RIGHTS=kxte QUOTA MAILBOX-REFERRALS NAMESPACE UIDPLUS NO_ATOMIC_RENAME UNSELECT CHILDREN MULTIAPPEND BINARY SORT SORT=MODSEQ THREAD=ORDEREDSUBJECT THREAD=REFERENCES ANNOTATEMORE CATENATE CONDSTORE IDLE LISTEXT LIST-SUBSCRIBED URLAUTH S: C01 OK Completed Please enter your password: C: L01 LOGIN admin {5} S: + go ahead C: S: L01 NO Login failed: authentication failure Authentication failed. generic failure Security strength factor: 0 I've tried various sasl_pwcheck_method options. The above is with "saslauthd". With "auxprop", it is similar, but: Please enter your password: C: L01 LOGIN admin {5} S: + go ahead C: failure: prot layer failure I'm losts. Help please? -- Dan Langille : Software Developer looking for work my resume: http://www.freebsddiary.org/dan_langille.php