opiekeys and IMAP

From: Chris (metrion_at_gmail.com)
Date: 08/31/04

  • Next message: Andras Kende: "RE: VPN poptop"
    Date: Tue, 31 Aug 2004 08:38:46 -0700
    To: FreeBSD-Q <freebsd-questions@freebsd.org>
    
    

    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
    _______________________________________________
    freebsd-questions@freebsd.org mailing list
    http://lists.freebsd.org/mailman/listinfo/freebsd-questions
    To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"


  • Next message: Andras Kende: "RE: VPN poptop"

    Relevant Pages

    • Re: which linux server OS would you recommend?
      ... and am getting ready to install it into a test box. ... Asking for a suggestion on a Linux flavor in here is totally useless, IMHO, ... popular ones are Courier and Cyrus. ...
      (comp.os.linux.misc)
    • Err - saslpasswd2: Couldnt update db + authentication failed
      ... I've installed all these s/w ... ... #cyradm --user cyrus localhost ... Used the ports colection to install all the s/w, ...
      (freebsd-questions)
    • Postfix+Cyrus IMAP+Cyrus SASL+Mysql+pam_mysql --- Configuration problems
      ... I've installed all these s/w ... ... #cyradm --user cyrus localhost ... Used the ports colection to install all the s/w, ...
      (freebsd-questions)
    • [SLE] Why Cyrus in YaST?
      ... includes a setting for handing off mail to Cyrus IMAP. ... YaST did not bother to point out that Cyrus was not installed. ... Furthermore, furthermore, when I later used YaST to install Cyrus, the first ...
      (SuSE)
    • Re: IS FC3 stable?
      ... >>default install, why are you using Cyrus instead of Dovecot? ... Cyrus was developed in it's own world, ... That means you should expect to learn different configuration ... Les Mikesell ...
      (Fedora)