migrations: also migrate dovecot control files
This commit is contained in:
parent
b9e28e23af
commit
d91d94be94
1 changed files with 7 additions and 1 deletions
|
@ -38,7 +38,13 @@ def check_user(vmail_root: Path):
|
||||||
|
|
||||||
|
|
||||||
def is_maildir_related(path: Path, layout: FolderLayout) -> bool:
|
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
|
return True
|
||||||
if not path.is_dir():
|
if not path.is_dir():
|
||||||
return False
|
return False
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue