50
61
static void fts_solr_mail_user_create(struct mail_user *user, const char *env)
52
64
struct fts_solr_user *fuser;
54
67
fuser = p_new(user->pool, struct fts_solr_user, 1);
55
68
if (fts_solr_plugin_init_settings(user, &fuser->set, env) < 0) {
56
69
/* invalid settings, disabling */
60
82
MODULE_CONTEXT_SET(user, fts_solr_user_module, fuser);