module = p_new(pool, struct vpopmail_passdb_module, 1);
module->module.default_pass_scheme = VPOPMAIL_DEFAULT_PASS_SCHEME;
+ module->module.blocking = TRUE;
tmp = t_strsplit_spaces(args, " ");
for (; *tmp != NULL; tmp++) {
} else if (strncmp(*tmp, "webmail=", 8) == 0) {
if (net_addr2ip(*tmp + 8, &module->webmail_ip) < 0)
i_fatal("vpopmail: Invalid webmail IP address");
+ } else if (strcmp(*tmp, "blocking=no") == 0) {
+ module->module.blocking = FALSE;
} else {
i_fatal("passdb vpopmail: Unknown setting: %s", *tmp);
}
const char *const *tmp, *p;
module = p_new(pool, struct vpopmail_userdb_module, 1);
+ module->module.blocking = TRUE;
for (tmp = t_strsplit(args, " "); *tmp != NULL; tmp++) {
if (strncmp(*tmp, "cache_key=", 10) == 0)
module->quota_template_key =
p_strdup_until(pool, *tmp + 15, p);
module->quota_template_value = p_strdup(pool, p + 1);
+ } else if (strcmp(*tmp, "blocking=no") == 0) {
+ module->module.blocking = FALSE;
} else
i_fatal("userdb vpopmail: Unknown setting: %s", *tmp);
}