A user got a new laptop (Windows 11), created a Thunderbird profile for a number of accounts. All seemed fine until he went back to the desktop machine, and found he could not see any messages in the inbox of his own account. When I checked, all I found in the logs was as below:
Jun 5 14:58:43 huntmaster dovecot: imap(xxxxxx): Error: open(/home/e-smith/files/users/xxxxxx/Maildir/cur/1637923626.31850.huntmaster:2,Sb) failed: Permission denied (euid=5000(xxxxxx) egid=5000(xxxxxx) missing +r perm: /home/e-smith/files/users/xxxxxx/Maildir/cur/1637923626.31850.huntmaster:2,Sb)
Jun 5 14:58:43 huntmaster dovecot: imap(xxxxxx): FETCH failed: Internal error occurred. Refer to server log for more information. [2024-06-05 14:58:43] in=325 out=2944248
I borrowed his password and set up a copy of his account (only his main email address) and I'm getting exactly the same problem - I can see sent messages, spam and deleted messages, just nothing in the inbox. Apparently he can still access his email from Thunderbird on the laptop, or Outlook, but any new account can't see the messages (3,500+ of them) in his inbox.
It looks as though Thunderbird did something nasty in the new profile he built, but I have searched on the "missing +r perm" error, and not found any fixes for it. I'm hoping someone can tell me what I need to do to fix it. It looks as though some of the dovecot indexes are messed up - looking at his account through Horde shows a number of invalid entries for older messages.
I've found ways of regenerating the indexes, but nothing much for the missing +r perm error. Any suggestions gratefully accepted...