G. *_* He 3 permissions mail dovecot
Ubuntu 11.10 32 位。设置一个 dovecot imap 服务器。在不同的 ubuntu 机器(64 位)上使用 Thunderbird 访问 imap 服务器。其他一切都很好,除了我无法在收件箱中压缩已删除的电子邮件,收件箱存储在 /var/mail/username 中。检查 mail.log,我看到此错误消息:
Apr 3 00:10:11 autumn dovecot: imap(username): Error: file_dotlock_create(/var/mail/username) failed: Permission denied (euid=1000(username) egid=1000(username) missing +w perm: /var/mail, euid is not dir owner) (set mail_privileged_group=mail)
Run Code Online (Sandbox Code Playgroud)
权限有什么问题?以下是相关文件的权限:
$ ls -ld /var/mail
drwxrwsr-x 2 mail mail 4096 2012-04-02 23:36 /var/mail
$ ls -l /var/mail/username
-rw------- 1 username mail 417 2012-04-02 23:36 /var/mail/username
Run Code Online (Sandbox Code Playgroud)
有谁知道这里发生了什么?
归档时间: |
|
查看次数: |
24047 次 |
最近记录: |