From b662a25d5142bbbfaf1054ea2fa6114a1b7057b8 Mon Sep 17 00:00:00 2001 From: Mario Fetka Date: Wed, 22 Jul 2026 08:55:12 +0200 Subject: [PATCH] Create Cyrus users in alternate namespace --- contrib/testing/cyrus-fixture.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/contrib/testing/cyrus-fixture.py b/contrib/testing/cyrus-fixture.py index d9194b8..e863dd5 100755 --- a/contrib/testing/cyrus-fixture.py +++ b/contrib/testing/cyrus-fixture.py @@ -222,7 +222,10 @@ def ensure_mailboxes(password: str) -> None: try: client.login("testadmin", password) for username in SOURCE_USERS: - mailbox = f"user.{username}" + # altnamespace uses '/' as the hierarchy delimiter. A literal + # "user.name" would create a shared top-level mailbox and LMTP + # would correctly reject delivery to the intended user. + mailbox = f"user/{username}" status, _ = client.create(mailbox) if status not in ("OK", "NO"): raise RuntimeError(f"could not create Cyrus mailbox {mailbox}")