[Mail] Dovecot Master User: Cannot access to folder

Hello everyone,

on the UCS a “Master User” is already configured for the mail server dovecot (see file /etc/dovecot/master-users)

I can login with the Master User: user@test.de*dovecotadmin

However, when accessing an Imap folder (e.g. INBOX) an error message is displayed that the folder does not exist!

In log: dovecot[14907]: imap(<account>): Error: Opening INBOX failed: Mailbox doesn't exist: INBOX

What do I have to configure so that I can access IMAP folders of all users with the Master User?

If you can login, then INBOX is probably not the correct name.
Try listing all mailboxes that the logged in user can see first.
How you do that, depends on your method of access. Are you using a program or programming?

Daniel Tröder

1 Like

Thanks for your reply. :slightly_smiling_face:

I used Thunderbird for testing. But I also tried library ‘MailKit’ (C#). There are no folders listed to which the dovecotadmin has access.
I rather think there is something wrong with the permission of the ‘dovecotadmin’.

Best wishes
Frank Schmid

I have found a solution (probably not a good one, but it works).

I have added the following line to the “global ACL” (/etc/dovecot/global-acl): * user=dovecotadmin lrw