From owner-freebsd-questions@FreeBSD.ORG Tue Feb 24 18:24:56 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 82628106564A for ; Tue, 24 Feb 2009 18:24:56 +0000 (UTC) (envelope-from web@3dresearch.com) Received: from smtp.3dresearch.com (dorabella.3dresearch.com [66.167.251.2]) by mx1.freebsd.org (Postfix) with ESMTP id 539698FC16 for ; Tue, 24 Feb 2009 18:24:56 +0000 (UTC) (envelope-from web@3dresearch.com) Received: from fracasso.3dresearch.com (pool-96-236-181-134.pitbpa.east.verizon.net [96.236.181.134]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by vmail.3dresearch.com (Postfix) with ESMTP id 7D8BDAC366 for ; Tue, 24 Feb 2009 13:24:55 -0500 (EST) Received: from fracasso.3dresearch.com (fracasso.3dresearch.com [10.61.70.2]) by fracasso.3dresearch.com (Postfix) with ESMTP id C8A3E172B8 for ; Tue, 24 Feb 2009 13:24:54 -0500 (EST) From: Janos Dohanics Organization: 3D RESEARCH To: freebsd-questions@freebsd.org Date: Tue, 24 Feb 2009 13:24:53 -0500 User-Agent: KMail/1.9.7 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200902241324.53927.web@3dresearch.com> Subject: saslauthd + pam error 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: Tue, 24 Feb 2009 18:24:56 -0000 I'm trying to make cyrus work with saslauthd + pam, but having no luck. # imtest -m PLAIN -a test WARNING: no hostname supplied, assuming localhost S: * OK [CAPABILITY IMAP4 IMAP4rev1 LITERAL+ ID AUTH=LOGIN AUTH=PLAIN AUTH=DIGEST-MD5 AUTH=CRAM-MD5 SASL-IR] [myserver] Cyrus IMAP v2.3.13 server ready Please enter your password: C: A01 AUTHENTICATE PLAIN AHRlc3QAamFjaw== S: A01 NO authentication failure Authentication failed. generic failure Security strength factor: 0 In /var/log/auth.log I get the error "saslauthd[17624] :do_auth : auth failure: [user=test] [service=imap] [realm=] [mech=pam] [reason=PAM auth error]" imtest works fine with DIGEST-MD5 In /usr/local/etc/imapd.conf I have: sasl_pwcheck_method: saslauthd saslauthd is running with "-a pam". Where should I look to fix my configuration? -- Janos Dohanics