migrations: also migrate dovecot control files
This commit is contained in:
@@ -38,7 +38,13 @@ def check_user(vmail_root: Path):
|
||||
|
||||
|
||||
def is_maildir_related(path: Path, layout: FolderLayout) -> bool:
|
||||
if path.name in ["subscriptions"]:
|
||||
if path.name in [
|
||||
"subscriptions"
|
||||
# https://doc.dovecot.org/2.3/admin_manual/mailbox_formats/maildir/#imap-uid-mapping
|
||||
"dovecot-uidlist",
|
||||
# https://doc.dovecot.org/2.3/admin_manual/mailbox_formats/maildir/#imap-keywords
|
||||
"dovecot-keywords",
|
||||
]:
|
||||
return True
|
||||
if not path.is_dir():
|
||||
return False
|
||||
|
||||
Reference in New Issue
Block a user