- else if ( (!strcasecmp(which, strof(mailboxespolicy)))
- || (!strcasecmp(which, "mailboxes"))
- ) {
- memcpy(&config.c_mbxep, &exp, sizeof(struct ExpirePolicy));
- put_config();
+ else if ((!strcasecmp(which, strof(mailboxespolicy))) || (!strcasecmp(which, "mailboxes")))
+ {
+ CtdlSetConfigInt("c_mbxep_mode", exp.expire_mode);
+ CtdlSetConfigInt("c_mbxep_value", exp.expire_value);