Squirrelmail问题:错误:无法完成请求。查询:选择“收件箱”

时间:2018-08-31 04:23:20

标签: email ubuntu server lamp

我的网站服务器托管在digitalocean上,带有Ubuntu 16.04,LAMP。因此,当我需要自己的域名电子邮件地址时,请按照本教程创建一个。完成本教程后,我能够发送邮件,但由于松鼠浏览器界面显示:

而无法接收邮件。

enter code here
ERROR: Could not complete request.
Query: SELECT "INBOX"
Reason Given: [SERVERBUG] Internal error occurred. Refer to server log for more information. [2018-08-22 03:58:59] (0.000 + 0.000 secs).


This is the error log
---------------------

Aug 22 03:44:58 haemocaregate dovecot: imap(daniolayinka): Error: open(/var/mail/daniolayinka) failed: Permission denied (euid=1003(daniolayinka) egi$
Aug 22 03:44:58 haemocaregate dovecot: imap(daniolayinka): Error: Failed to autocreate mailbox INBOX: Internal error occurred. Refer to server log fo$
Aug 22 03:44:59 haemocaregate dovecot: imap(daniolayinka): Error: open(/var/mail/daniolayinka) failed: Permission denied (euid=1003(daniolayinka) egi$
Aug 22 03:44:59 haemocaregate dovecot: imap(daniolayinka): Error: Failed to autocreate mailbox INBOX: Internal error occurred. Refer to server log fo$
Aug 22 03:49:40 haemocaregate dovecot: imap(daniolayinka): Error: open(/var/mail/daniolayinka) failed: Permission denied (euid=1003(daniolayinka) egi$
Aug 22 03:49:40 haemocaregate dovecot: imap(daniolayinka): Error: Failed to autocreate mailbox INBOX: Internal error occurred. Refer to server log fo$
Aug 22 03:49:40 haemocaregate dovecot: imap(daniolayinka): Error: open(/var/mail/daniolayinka) failed: Permission denied (euid=1003(daniolayinka) egi$
Aug 22 03:49:40 haemocaregate dovecot: imap(daniolayinka): Error: Failed to autocreate mailbox INBOX: Internal error occurred. Refer to server log fo$
Aug 22 03:58:03 haemocaregate dovecot: imap(daniolayinka): Error: open(/var/mail/daniolayinka) failed: Permission denied (euid=1003(daniolayinka) egi$
Aug 22 03:58:03 haemocaregate dovecot: imap(daniolayinka): Error: Failed to autocreate mailbox INBOX: Internal error occurred. Refer to server log fo$
Aug 22 03:58:03 haemocaregate dovecot: imap(daniolayinka): Error: open(/var/mail/daniolayinka) failed: Permission denied (euid=1003(daniolayinka) egi$
Aug 22 03:58:03 haemocaregate dovecot: imap(daniolayinka): Error: Failed to autocreate mailbox INBOX: Internal error occurred. Refer to server log fo$
Aug 22 03:58:10 haemocaregate dovecot: imap(daniolayinka): Error: open(/var/mail/daniolayinka) failed: Permission denied (euid=1003(daniolayinka) egi$
Aug 22 03:58:10 haemocaregate dovecot: imap(daniolayinka): Error: Failed to autocreate mailbox INBOX: Internal error occurred. Refer to server log fo$
Aug 22 03:58:59 haemocaregate dovecot: imap(daniolayinka): Error: open(/var/mail/daniolayinka) failed: Permission denied (euid=1003(daniolayinka) egi$
Aug 22 03:58:59 haemocaregate dovecot: imap(daniolayinka): Error: Failed to autocreate mailbox INBOX: Internal error occurred. Refer to server log fo$
Aug 22 03:58:59 haemocaregate dovecot: imap(daniolayinka): Error: open(/var/mail/daniolayinka) failed: Permission denied (euid=1003(daniolayinka) egi$
Aug 22 03:58:59 haemocaregate dovecot: imap(daniolayinka): Error: Failed to autocreate mailbox INBOX: Internal error occurred. Refer to server log fo$

1 个答案:

答案 0 :(得分:0)

从您的日志中很明显,这是一个权限问题。 dovecot正在尝试打开路径/var/mail/daniolayinka,由于以下两个原因之一,它无法访问:

  1. 该路径存在,但devcot由于权限问题无法打开它
  2. 该路径不存在,并且devcot没有创建该路径的权限

解决方案:

  1. 如果该路径不存在,请创建并重试。
  2. 如果该路径确实存在,请确保设置了正确的权限。例如,您可以运行以下命令。 chmod -R 755 /var/mail/daniolayinka