From 28a0f9c61603218715490199d1108e8318e08276 Mon Sep 17 00:00:00 2001 From: Son NK Date: Mon, 30 Dec 2019 18:48:25 +0100 Subject: [PATCH] Set automatic_creation flag when alias is created with catch-all feature --- email_handler.py | 1 + 1 file changed, 1 insertion(+) diff --git a/email_handler.py b/email_handler.py index 7ee1fc98..00608592 100644 --- a/email_handler.py +++ b/email_handler.py @@ -120,6 +120,7 @@ class MailHandler: email=alias, user_id=custom_domain.user_id, custom_domain_id=custom_domain.id, + automatic_creation=True, ) db.session.commit() else: