From bbcda8a2ea66eb66eb4b15a6e861d1ecce0a66d2 Mon Sep 17 00:00:00 2001 From: Timo Sirainen Date: Mon, 22 May 2017 17:56:15 +0300 Subject: [PATCH] imap: Fix unhibernation after earlier change --- src/imap/imap-master-client.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/imap/imap-master-client.c b/src/imap/imap-master-client.c index 05065ebade..9f311d512a 100644 --- a/src/imap/imap-master-client.c +++ b/src/imap/imap-master-client.c @@ -228,6 +228,11 @@ imap_master_client_input_args(struct connection *conn, const char *const *args, i_close_fd(&fd_client); return -1; } + if (mail_namespaces_init(imap_client->user, &error) < 0) { + i_error("%s", error); + client_destroy(imap_client, error); + return -1; + } /* log prefix is set at this point, so we don't need to add the username anymore to the log messages */ client->imap_client_created = TRUE;