Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 31 Aug 2004 08:38:46 -0700
From:      Chris <metrion@gmail.com>
To:        FreeBSD-Q <freebsd-questions@freebsd.org>
Subject:   opiekeys and IMAP
Message-ID:  <804fd9a30408310838350d2c58@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
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: <password><enter>
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?804fd9a30408310838350d2c58>