Prepare Coulobre v0.7.0 for mail and DNS parity #98
@@ -127,7 +127,13 @@ def remove_delivery(mailbox, account, auth_group, modern):
|
||||
and mail.postfix_lookup(mailbox.address, mail.POSTFIX_MAILBOXES)
|
||||
is None
|
||||
):
|
||||
mail.run("doveadm", "kick", mailbox.address)
|
||||
mail.run(
|
||||
"doveadm",
|
||||
"kick",
|
||||
mailbox.address,
|
||||
missing_exit=68,
|
||||
missing_output="no users kicked",
|
||||
)
|
||||
return
|
||||
time.sleep(0.25)
|
||||
raise ValueError("The mail node still resolves the retired recipient.")
|
||||
Reference in new issue
Block a user