Re: unable to open Berkeley db /etc/sasldb2: Permission denied

From: Alex Prinsier (no email)
Date: Tue Jan 09 2007 - 04:06:10 EST

  • Next message: Leon Kolchinsky: "unable to open Berkeley db /etc/sasldb2: Permission denied"

    Try:
    chgrp mail /etc/sasldb2
    chmod 660 /etc/sasldb2

    You seem to have configured cyrus to access sasldb2. That means you
    should give it access to the database too :) Currently it's set only
    root can read/write it.

    If you're not using sasldb2 you should probably better disable it in
    your config.

    Hope it helps.

    Alex

    Leon Kolchinsky wrote:
    > Hello All,
    >
    >
    > I have a working mail system Cyrus+Postfix+Web-cyradm+Amavisd-new(SA+ClamAV)
    > with 2 virtual domains.
    >
    > All is working, but I've noticed that I keep getting:
    > --------------------------------------------------
    > Jan 9 10:28:20 mail pop3[25728]: unable to open Berkeley db /etc/sasldb2:
    > Permission denied
    > Jan 9 10:28:23 mail pop3[25728]: unable to open Berkeley db /etc/sasldb2:
    > Permission denied
    > Jan 9 10:29:55 mail pop3[25728]: unable to open Berkeley db /etc/sasldb2:
    > Permission denied
    > Jan 9 10:29:58 mail pop3[25728]: unable to open Berkeley db /etc/sasldb2:
    > Permission denied
    >
    > in my /var/log/warn file.
    >
    >
    > I did a little googling and thought that this procedure would help (adding
    > mail and postfix to the same group):
    > # ls -l /etc/sasldb2
    > -rw-r----- 1 root root 12288 Sep 15 2005 /etc/sasldb2
    >
    > Now check the group of cyrus user:
    > # cat /etc/passwd| grep cyrus
    > cyrus:x:96:12:User for cyrus-imapd:/usr/lib/cyrus:/bin/bash
    >
    > Now make sure that cyrus and postfix in the same group and restart cyrus and
    > postfix:
    > # cat /etc/group| grep 12
    > mail:x:12:mail,postfix

    ----
    Cyrus Home Page: http://cyrusimap.web.cmu.edu/
    Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki
    List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html
    

  • Next message: Leon Kolchinsky: "unable to open Berkeley db /etc/sasldb2: Permission denied"





    Hosted Email Solutions

    Invaluement Anti-Spam DNSBLs



    Powered By FreeBSD   Powered By FreeBSD