Merge branch 'migrate-dovecot-control-files' into 'master'
migrations: also migrate dovecot control files See merge request simple-nixos-mailserver/nixos-mailserver!423
This commit is contained in:
commit
c45b8a1253
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