Hello everyone, I got stuck trying to migrate mailbox to office 365 with this error:
ImapNoPermissionPermanentFailure: Imap server reported an error during SLECT indicating that the current user is not permitted to carry out the requested operation: 'Permission denied )0.001 + 0.000 secs).'.
the issue is related only to emails, in fact i can see the folder tree synced.
I tried even with usermail*vmail but nothing to do. still stuck.
I made a separate question, and I provided an answer there for others to see. Talented mods decided to delete it without even trying to understand the issue was defined in the best possible way.
Cause
Dovecot (on NethServer) automatically creates Publick and Public/Junk folders with access permission restricted to the root user only.
Solution
Allowed lookup and reading for Authenticated users on the Public folder
The command used: doveadm acl set -A Public authenticated lookup read
Since those folders were empty, logs were flooded with errors that were irrelevant: