Cannot get the message list(Rainloop)

1 views

Symptom

The following screen displayed when I ran Rainloop.(Click images to enlarge)

Cause

# Check the status of dovecot
[tu@ufuso ~]$ sudo systemctl status dovecot.service
 dovecot.service - Dovecot IMAP/POP3 email server
   Loaded: loaded (/usr/lib/systemd/system/dovecot.service; enab>
   Active: active (running) since Mon 2020-05-11 20:40:19 JST; 1>
     Docs: man:dovecot(1)
...
...
 5月 11 20:57:38 ufuso.dip.jp dovecot[2434]: imap-login: Login: user=, method=PLAIN, rip=192.168.24.240, lip=192.168.24.240, mpid>
 5月 11 20:57:38 ufuso.dip.jp dovecot[2434]: imap(tu): Error: open(/home/tu/Maildir/dovecot.index.log) failed: Permission denied (eui>
 5月 11 20:57:38 ufuso.dip.jp dovecot[2434]: imap(tu): Error: open(/home/tu/Maildir/dovecot-uidlist) failed: Permission denied
 5月 11 20:57:38 ufuso.dip.jp dovecot[2434]: imap(tu): Error: open(/home/tu/Maildir/dovecot-uidlist) failed: Permission denied
 5月 11 20:57:38 ufuso.dip.jp dovecot[2434]: imap(tu): Logged out in=89 out=979


# Check Maildir permissions
[tu@ufuso ~]$ sudo ls -l /home/tu/Maildir
drwx------. 2 tu tu     6  5月 11 17:50 cur
-rw-------. 1 tu tu   479  5月 11 17:50 dovecot-uidlist
-rw-------. 1 tu tu     8  1月 13 10:19 dovecot-uidvalidity
-rw-------. 1 tu tu     0  1月 13 10:19 dovecot-uidvalidity.5e1bc58d

-rw-------. 1 tu tu   848  5月 11 14:17 dovecot.index
-rw-------. 1 tu tu 23592  5月 11 17:50 dovecot.index.cache
-rw-------. 1 tu tu  7680  5月 11 17:50 dovecot.index.log
-rw-------. 1 tu tu 33436  5月 11 14:17 dovecot.index.log.2
-rw-------. 1 tu tu   120  1月 13 10:19 dovecot.mailbox.log
drwx------. 2 tu tu  4096  5月 11 21:02 new
-rw-------. 1 tu tu    46  1月 13 10:19 subscriptions
drwx------. 2 tu tu     6  5月 11 21:02 tmp

A countermeasure

# Change a permission of dovecot-uidvalidity.5e1bc58d file
[tu@ufuso ~]$ sudo chmod 444 /home/tu/Maildir/dovecot-uidvalidity.5e1bc58d

# Check Maildir permissions
[tu@ufuso ~]$ sudo ls -l /home/tu/Maildir
drwx------. 2 tu tu     6  5月 11 17:50 cur
-rw-------. 1 tu tu   479  5月 11 17:50 dovecot-uidlist
-rw-------. 1 tu tu     8  1月 13 10:19 dovecot-uidvalidity
--r--r--r--. 1 tu tu     0  1月 13 10:19 dovecot-uidvalidity.5e1bc58d

-rw-------. 1 tu tu   848  5月 11 14:17 dovecot.index
-rw-------. 1 tu tu 23592  5月 11 17:50 dovecot.index.cache
-rw-------. 1 tu tu  7680  5月 11 17:50 dovecot.index.log
-rw-------. 1 tu tu 33436  5月 11 14:17 dovecot.index.log.2
-rw-------. 1 tu tu   120  1月 13 10:19 dovecot.mailbox.log
drwx------. 2 tu tu  4096  5月 11 21:02 new
-rw-------. 1 tu tu    46  1月 13 10:19 subscriptions
drwx------. 2 tu tu     6  5月 11 21:02 tmp

OK if The following screen is displayed.

以上
#I used Pocket Talk to translate this site.