IMAP provides non exisiting folder

,

NethServer Version: 7.9
Module: AD, Roundcube, Clamscan, Dokuwiki, Fail2ban, IPS, Thread shield

My Mail Client (emClient) generates an error:

[IMAP]The folder “/Public” cannot be opened. (NO [NOPERM] Permission denied (0.001 + 0.169 + 0.169 secs).)

Within my server no public folder exist. That means, mail server provides non exisiting folders.

[root@ns-srv01 Maildir]# ls -lsa
total 40
0 drwx------ 9 vmail vmail 323 Sep 7 11:46 .
0 drwx------ 4 vmail vmail 78 Jul 1 06:37 …
4 drwx------ 2 vmail vmail 4096 Sep 7 11:46 cur
0 -rw------- 1 vmail vmail 0 Jun 1 07:36 dovecot-acl-list
8 -rw------- 1 vmail vmail 7404 Sep 7 11:46 dovecot.index.cache
8 -rw------- 1 vmail vmail 6924 Sep 7 11:46 dovecot.index.log
4 -rw------- 1 vmail vmail 288 Sep 7 11:26 dovecot.mailbox.log
4 -rw------- 1 vmail vmail 428 Sep 7 11:46 dovecot-uidlist
4 -rw------- 1 vmail vmail 8 Sep 7 11:25 dovecot-uidvalidity
0 -r–r--r-- 1 vmail vmail 0 Jun 1 07:36 dovecot-uidvalidity.60b5c773
0 drwx------ 5 vmail vmail 108 Sep 6 13:44 .Drafts
0 drwx------ 5 vmail vmail 108 Jun 2 08:26 .Junk
4 -rw------- 1 vmail vmail 62 Sep 7 13:01 maildirsize
0 drwx------ 2 vmail vmail 6 Sep 7 09:11 new
0 drwx------ 5 vmail vmail 135 Sep 7 11:50 .Sent
4 -rw------- 1 vmail vmail 23 Sep 7 11:26 subscriptions
0 drwx------ 2 vmail vmail 6 Sep 7 09:11 tmp
0 drwx------ 5 vmail vmail 135 Sep 7 14:49 .Trash

How to fix it?
Sincerely, Marko

Hm, emclient looks nice but it seems there’s no possibility to choose/subscribe to IMAP folders so we need to fix it on the server.

I needed to set the public folder to allow lookup and read for authenticated users, after that change emclient didn’t complain anymore.

doveadm acl set -A Public authenticated lookup read

See also

3 Likes

I am also surprised that emClient has this lack. I have pointed it out to the developers there again.

Thanks for your workaround.
Best regards, MArko

1 Like