Question by a person:
But are the IMAP folders subscribed to or available for subscription? That's something to consider.
root@mx2 /var/vmail/example.com/systemmails # ll -ta insgesamt 144 -rw------- 1 vmail vmail 2988 6. Dez 10:39 dovecot.list.index.log drwx------ 5 vmail vmail 4096 6. Dez 10:39 Sent drwx------ 5 vmail vmail 4096 6. Dez 10:39 .Sent drwx------ 16 vmail vmail 4096 6. Dez 10:39 . -rw------- 1 vmail vmail 1104 6. Dez 10:39 dovecot.mailbox.log -rw------- 1 vmail vmail 89 6. Dez 10:39 subscriptions -rw------- 1 vmail vmail 8 6. Dez 10:39 dovecot-uidvalidity -rw------- 1 vmail vmail 12552 6. Dez 10:38 dovecot.index.log drwx------ 5 vmail vmail 4096 6. Dez 10:38 Trash drwx------ 2 vmail vmail 4096 6. Dez 10:38 cur -rw------- 1 vmail vmail 14648 6. Dez 10:38 dovecot.index.cache -rw------- 1 vmail vmail 1616 6. Dez 10:38 dovecot.list.index -rw------- 1 vmail vmail 8212 6. Dez 10:38 dovecot.list.index.log.2 drwx------ 5 vmail vmail 4096 6. Dez 10:37 .INBOX.Fail2ban drwx------ 5 vmail vmail 4096 6. Dez 10:35 .INBOX.vzdump -rw------- 1 vmail vmail 283 5. Dez 16:01 dovecot.index.thread drwx------ 2 vmail vmail 4096 5. Dez 16:01 new drwx------ 5 vmail vmail 4096 5. Dez 16:01 .Drafts drwx------ 5 vmail vmail 4096 5. Dez 16:01 .Junk drwx------ 5 vmail vmail 4096 5. Dez 16:01 .Trash -rw------- 1 vmail vmail 1833 5. Dez 15:51 dovecot-uidlist drwx------ 3 vmail vmail 4096 3. Dez 06:25 sieve drwx------ 5 vmail vmail 4096 3. Nov 09:15 .Quarantine drwx------ 5 vmail vmail 4096 3. Nov 09:15 .Archive drwx------ 2 vmail vmail 4096 2. Nov 16:41 tmp -rw------- 1 vmail vmail 1080 29. Okt 06:50 dovecot.index -rw------- 1 vmail vmail 24 20. Apr 2024 dovecot-keywords drwx------ 15 vmail vmail 4096 6. Apr 2021 .. -r--r--r-- 1 vmail 1002 0 15. Sep 2018 dovecot-uidvalidity.5b9d20a3 -r--r--r-- 1 vmail vmail 0 15. Sep 2018 dovecot-uidvalidity.5b9d20a7 -rw------- 1 vmail vmail 0 15. Sep 2018 dovecot-acl-list
I explicitly subscribed to the hidden folders via webmail. The "subscriptions" section then looks like this: .Archive .Drafts .INBOX.Fail2ban .INBOX.vzdump .Junk .Quarantine .Sent .Trash Trash Sent
In the webmail interface or in my case in KMail, the folder structure looks like this: Systemmails Dovecot24 |-.Archive |-.Dafts |-.INBOX.Fail2ban |-.INBOX.vzdump |-.Junk |-.Quarantine |-.Sent |-.Trash |-Posteingang |-Trash |-Sent
For the old server with Dovecot 2.3, it looks like this: Systemmails Dovecot23 |-Archive |-Dafts |-Posteingang |-Fail2ban |-vzdump |-Junk |-Quarantine |-Sent |-Trash
That's the issue. Users get completely confused when they
- firstly, can no longer see their previous emails and folders
- secondly, are expected to subscribe to everything they've received so far
- thirdly, are expected to rewrite Sieve scripts or other client filters.
And what does that look like? Where previously subfolders were located directly under "Inbox," there's now an ".INBOX.Subfolder." All previously sent emails are now in ".Sent," including any subfolders, and newly sent emails are stored in a newly created "Sent" folder.
Perhaps this clarifies what I need to solve. We're talking about just this one mail server with 20-30 domains and several thousand email accounts, not to mention the individual folder structure conventions.
Do you have any ideas on how to implement this?
ByteMe