From 1bdfdbee896c03954565c6dba85dcffd4492a7cc Mon Sep 17 00:00:00 2001 From: Peter Timofejew Date: Mon, 12 Oct 2015 09:43:35 -0400 Subject: [PATCH] Added 'Sent' folder when creating user. --- management/mailconfig.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/management/mailconfig.py b/management/mailconfig.py index b1ac9b1e..962465ce 100755 --- a/management/mailconfig.py +++ b/management/mailconfig.py @@ -318,7 +318,7 @@ def add_mail_user(email, pw, privs, env): conn.commit() return ("Failed to initialize the user: " + e.output.decode("utf8"), 400) - for folder in ("INBOX", "Trash", "Spam", "Drafts"): + for folder in ("INBOX", "Sent", "Trash", "Spam", "Drafts"): if folder not in existing_mboxes: utils.shell('check_call', ["doveadm", "mailbox", "create", "-u", email, "-s", folder])