Dovecot:userdb lookup:connect(/ var / run / dovecot / auth-master)失败:权限被拒绝

时间:2018-06-03 16:57:37

标签: permissions mail-server dovecot

我对dovecot有一个奇怪的问题,因为有一天我得到这个错误:

Error: userdb lookup: connect(/var/run/dovecot/auth-master) failed: Permission denied (euid=7788(email) egid=7788(email) UNIX perms appear ok (ACL/MAC wrong?), dir owned by 0:0 mode=0755)

权限是这些:

srw-rw----  1 email   email      0 Jun  3 16:25 auth-master

dovecot.conf的相关部分:

socket listen {
        master {
            path = /var/run/dovecot/auth-master
            mode = 0660
            user = email
            group = email
        }
        client {
            path = /var/spool/postfix/private/auth
            mode = 0660
            user = postfix
            group = postfix
        }
    }
}


listen = *

我真的不知道导致错误的原因...更改权限似乎无法解决问题。

有什么建议吗?

祝你好运 cptflint

0 个答案:

没有答案