i_close_fd(&fd_client);
return -1;
}
+ client->imap_client_created = TRUE;
+
if (mail_namespaces_init(imap_client->user, &error) < 0) {
- i_error("%s", error);
+ i_error("imap-master(%s): mail_namespaces_init() failed: %s",
+ input.username, 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;
o_stream_nsend(imap_client->output,
master_input.client_output->data,