From owner-freebsd-questions@FreeBSD.ORG Wed May 18 13:54:14 2005 Return-Path: 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 62E0F16A4CE for ; Wed, 18 May 2005 13:54:14 +0000 (GMT) Received: from herbert.sohotech.ca (herbert.sohotech.ca [206.116.63.239]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8BE1F43D96 for ; Wed, 18 May 2005 13:54:13 +0000 (GMT) (envelope-from greg@grokking.org) Received: from localhost (unknown [127.0.0.1]) by herbert.sohotech.ca (Postfix) with ESMTP id A121B17C60E for ; Wed, 18 May 2005 06:54:07 -0700 (PDT) Received: from herbert.sohotech.ca ([127.0.0.1]) by localhost (herbert.sohotech.ca [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 18417-09 for ; Wed, 18 May 2005 06:53:56 -0700 (PDT) Received: from [192.168.1.6] (chomsky.sohotech.ca [192.168.1.6]) by herbert.sohotech.ca (Postfix) with ESMTP id E024B177564 for ; Wed, 18 May 2005 06:53:56 -0700 (PDT) Message-ID: <428B48F4.1060308@grokking.org> Date: Wed, 18 May 2005 06:53:56 -0700 From: "greg@grokking.org" User-Agent: Mozilla Thunderbird 1.0.2 (X11/20050513) X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: <20050517220403.T96779@zoraida.natserv.net> <428AAAA8.6060805@grokking.org> <20050517230643.O97506@zoraida.natserv.net> In-Reply-To: <20050517230643.O97506@zoraida.natserv.net> X-Enigmail-Version: 0.90.2.0 X-Enigmail-Supports: pgp-inline, pgp-mime Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Scanned: amavisd-new at sohotech.ca Subject: Re: Cyrus IMAP from Ports in 5.X? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 18 May 2005 13:54:14 -0000 > >> check permissions on /usr/local/etc/sasldb >> (or /usr/local/etc/sasldb2) and make sure it allows reading by the >> user running your pop/imap/mta. > > > Running saslpasswd2 as root. > For /usr/local/etc/sasldb2 also tried setting the owner to cyrus and > giving the group (mail) write capabilities. > > Changing to use a different Berkeley DB version changes the error to > May 17 23:04:16 testpompa saslpasswd2: setpass succeeded for fran > May 17 23:04:16 testpompa saslpasswd2: error deleting entry from sasldb: > DB_NOTFOUND: No matching key/data pair found > > Where able to get Cyrus running from ports? Yes, I have...on several hosts. Can you confirm that the setup does not in fact work? I ask this because I suspect the errors noted above may be no cause for concern as they might be referring to authentication method(s) you may not actually want/need. I think the port automatically compile in support for plaintext, cram-md5, digest-md5, ntlm, otp, gssapi, etc. so everytime you use the setpass tool it wants to create entries for EVERY auth type. The ones, like gssapi and OTP, that require additional configuration may be the ones generating the errors in the logs. I think your bdb versions need to all be in sync as well. Try rebuilding cyrus-sasl2 with only those methods you want or need: make WITHOUT_OTP=1 WITHOUT_NTLM=1 WITHOUT_GSSAPI=1 WITH_BDB_VER=42 make install clean [here I've built sasl2 with only plaintext, digest and cram support. Read the Makefile in the port dir to see if there are other options you need/want] Then build cyrus-imapd2.x with the same db version, like this: make USE_BDB_VER=42 make install clean Hope that helps, G