From owner-freebsd-questions@FreeBSD.ORG Tue Aug 31 15:38:47 2004 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 3A98516A4CE for ; Tue, 31 Aug 2004 15:38:47 +0000 (GMT) Received: from mproxy.gmail.com (mproxy.gmail.com [216.239.56.248]) by mx1.FreeBSD.org (Postfix) with ESMTP id 258AA43D53 for ; Tue, 31 Aug 2004 15:38:47 +0000 (GMT) (envelope-from metrion@gmail.com) Received: by mproxy.gmail.com with SMTP id u33so64620cwc for ; Tue, 31 Aug 2004 08:38:46 -0700 (PDT) Received: by 10.11.122.65 with SMTP id u65mr73887cwc; Tue, 31 Aug 2004 08:38:46 -0700 (PDT) Received: by 10.11.122.7 with HTTP; Tue, 31 Aug 2004 08:38:46 -0700 (PDT) Message-ID: <804fd9a30408310838350d2c58@mail.gmail.com> Date: Tue, 31 Aug 2004 08:38:46 -0700 From: Chris To: FreeBSD-Q Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: opiekeys and IMAP X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Chris List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 31 Aug 2004 15:38:47 -0000 Hi all, Having trouble with security features, I think, that I can't seem to resolve. I have a fresh install of 4.10 from FTP and am trying to set up Cyrus IMAP with Squirrelmail front end. I was following the guide at http://www.cse.ucsc.edu/~venkat/tutorial1.html, more for reference to FreeBSD as I've completed this mail setup on Linux a couple of times ( I admit I could have been lucky :P ). So, anyway, I get things installed and configured as I have before and test my IMAP as the 'cyrus' user and that all works. But when I try to log into the 'cyradm' utility to create mailboxes, I get this: %cyradm localhost Password: Segmentation fault % with these log entries: (This is when I first start the 'cyradm localhost') Aug 30 16:47:40 vzwmail imapd[13037]: OTP unavailable because can't read/write key database /etc/opiekeys: Permission denied (and then when I enter my password:) Aug 31 08:13:44 vzwmail imapd[14121]: Could not open db Aug 31 08:13:44 vzwmail imapd[14121]: Could not open db Aug 31 08:13:44 vzwmail imapd[14121]: no secret in database Aug 31 08:13:44 vzwmail imapd[14121]: badlogin: localhost[::1] DIGEST-MD5 [SASL(-13): user not found: no secret in database] Aug 31 08:13:47 vzwmail /kernel: pid 14120 (perl), uid 60: exited on signal 11 Here are the /etc/opie* Permissions: -rw------- 1 root wheel 466 Aug 30 16:27 opieaccess -rw-r--r-- 1 root wheel 200 Aug 30 16:33 opiekeys I do have some keys made with 'opiepasswd' (I hope I did it right): #cat opiekeys cyrus 0499 vz8252 ff3435334004cd3e Aug 30,2004 16:30:23 #cat opieaccess permit 172.16.0.0 255.255.0.0 (my internal network) Only thing I changed in my imapd.conf was this from install (it was auxprop): sasl_pwcheck_method: saslauthd and I made a passwd for the cyrus user also using saslpasswd2 program I hope this mess all makes sense :) I don't know what to do at this point. I don't understand this opeykeys things very well at all. Any assistance is greatly appreciated! Thanks! Chris