Webmail and mail client shows empty mailbox ever mail is there


2017-05-14 08:09:41 UTC


2017-08-16 16:26:57 UTC


Was this article helpful?

Have more questions?

Submit a request

Webmail and mail client shows empty mailbox ever mail is there

Applicable to:

  • Plesk Onyx for Linux


When logging into webmail or with a mail client the mail is not shown:


PLESK_ERROR: could not open mail inbox


PLESK_ERROR: Server Error: STATUS: Internal error occurred.

Errors in /var/log/maillog:

PLESK_INFO: dovecot: service=pop3, user=admin@example.com, ip=[]. Error: Index is read-only, can't write-lock /var/qmail/mailnames/example.com/admin/Maildir/dovecot.index.log

PLESK_INFO: dovecot: service=lda, user=admin@example.com, ip=[]. Error: sieve: failed to open logfile (LOGGING TO STDERR): open(/var/qmail/mailnames/example.com/admin/.dovecot.sieve.log) failed: Permission denied (euid=30(popuser) egid=31(popuser) UNIX perms appear ok (ACL/MAC wrong?))

PLESK_INFO: Error: open(/var/qmail/mailnames/example.com/info/Maildir/dovecot-uidlist) failed: Permission denied Aug 4 16:47:26 cloud1 dovecot: service=lda, user=info@example.com, ip=[]. msgid=<info@www.example.com>: save failed to INBOX: Internal error occurred. Refer to server logfor more information.

The following ownership is set to Dovecot files:

MYSQL_LIN: # ls -la /var/qmail/mailnames/example.com/admin/Maildir/

CONFIG_TEXT: -rw-r--r-- 1 root root 6152 May 7 11:02 dovecot.index
-rw-r--r-- 1 root root 125652 May 8 10:15 dovecot.index.cache
-rw-r--r-- 1 root root 22324 May 8 10:26 dovecot.index.log
-rw-r--r-- 1 root root 20935 May 8 10:15 dovecot-uidlist
-rw-r--r-- 1 root root 8 Dec 3 01:43 dovecot-uidvalidity
-rw-r--r-- 1 root root 0 Dec 3 01:43 dovecot-uidvalidity.573ce425


Incorrect ownership on Dovecot files. The owner-group should be popuser:popuser .


1. Login to the server over SSH

2. Find all the files and change owner and group to popuser:popuser

# find /var/qmail/mailnames/ -name dovecot* -exec chown popuser:popuser {} \;

Have more questions? Submit a request
Please sign in to leave a comment.