我的网站服务器托管在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$
答案 0 :(得分:0)
从您的日志中很明显,这是一个权限问题。 dovecot正在尝试打开路径/var/mail/daniolayinka
,由于以下两个原因之一,它无法访问:
解决方案:
chmod -R 755 /var/mail/daniolayinka