From owner-freebsd-questions@FreeBSD.ORG Wed May 18 02:38:50 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 6BBA416A4CE for ; Wed, 18 May 2005 02:38:50 +0000 (GMT) Received: from herbert.sohotech.ca (herbert.sohotech.ca [206.116.63.239]) by mx1.FreeBSD.org (Postfix) with ESMTP id C2DC243D81 for ; Wed, 18 May 2005 02:38:49 +0000 (GMT) (envelope-from greg@grokking.org) Received: from localhost (unknown [127.0.0.1]) by herbert.sohotech.ca (Postfix) with ESMTP id 4633817C1A8 for ; Tue, 17 May 2005 19:38:41 -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 12395-08 for ; Tue, 17 May 2005 19:38:30 -0700 (PDT) Received: from [192.168.1.6] (chomsky.sohotech.ca [192.168.1.6]) by herbert.sohotech.ca (Postfix) with ESMTP id BA72317A7E2 for ; Tue, 17 May 2005 19:38:30 -0700 (PDT) Message-ID: <428AAAA8.6060805@grokking.org> Date: Tue, 17 May 2005 19:38:32 -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> In-Reply-To: <20050517220403.T96779@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 02:38:50 -0000 Francisco Reyes wrote: > Anyone got Cyrus IMAP working from installing the ports? > > After 3 days trying.. I am leaning towards possible problems with the > ports options. For example upon installation the cyrus-sasl-2.1.20_1 > port there are errors in /var/log/auth.log > > May 16 23:47:39 testpompa saslpasswd2: setpass succeeded for cyrus > May 16 23:47:39 testpompa saslpasswd2: Couldn't update db > > Runing saslapsswd produces the same, yet running sasldblistusers2 I see > cyrus@localhost: userPassword > > My imapd.conf is > configdirectory: /var/imap > partition-default: /var/imap/spool > servername: testpompa.natserv.net > allowanonymouslogin: no > admins: cyrus root > autocreatequota: 102400 > loginrealms: stringsutils.com, dataeverywhere.net > sieveusehomedir: false > sievedir: /var/imap/sieve > sasl_pwcheck_method: auxprop > lmtpsocket: /var/imap/socket/lmtp > idlesocket: /var/imap/socket/idle > notifysocket: /var/imap/socket/notify > virtdomains: yes > defaultdomain: stringsutils.com > > The "Couldn't update db" seems like a common problem when installing > Cyrus, yet I could not find a single reference on how to fix the problem. > > Ran the mkimap without any problems. Both the impad and sasl programs > are running and no errors reported at startup for either of them. > > Moreover, I tried using a different Berkeley DB with cyrus-sasl and > after that got different errors, so I am wondering if the default > options in the port may be wrong. Are you running both sasl AND sasl2 ports at the same time? sasldblistusers2 is from sasl2 and saslpasswd is from sasl. If that was just a typo, 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. G