Squirrelmail 问题:错误:无法完成请求。查询:选择“收件箱”
Posted
技术标签:
【中文标题】Squirrelmail 问题:错误:无法完成请求。查询:选择“收件箱”【英文标题】:Squirrelmail issue: ERROR: Could not complete request. Query: SELECT “INBOX” 【发布时间】:2019-02-06 01:40:58 【问题描述】:我在 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】:从您的日志中,很明显这是一个权限问题。 dovecot 正在尝试打开一条路径 /var/mail/daniolayinka
,由于以下两个原因之一它无法访问:
-
路径存在,但 devcot 由于权限问题无法打开它
路径不存在,devcot 无权创建它
解决方案:
-
如果路径不存在,则创建并重试。
如果路径确实存在,请确保您设置了正确的权限。例如,您可以运行以下命令。
chmod -R 755 /var/mail/daniolayinka
【讨论】:
谢谢。 我一开始尝试了代码,它说目录不存在。所以我运行了 mkdir /var/mail/daniolayinka, 然后运行了这段代码 chmod -R 755 /var/mail/daniolayinka 但是邮件没有送达。 这是新的错误消息:8 月 31 日 11:40:55 haemocaregate dovecot: imap(daniolayinka): 错误:打开收件箱失败:邮箱不可选择 8 月 31 日 11:40:56 haemocaregate dovecot:imap(daniolayinka):错误:打开以上是关于Squirrelmail 问题:错误:无法完成请求。查询:选择“收件箱”的主要内容,如果未能解决你的问题,请参考以下文章
请求错误 Error Domain=SKErrorDomain Code=0 “操作无法完成。(SKErrorDomain 错误 0。)”