}
#endif
} else T_BEGIN {
- if (strncmp(line, "mail=", 5) == 0) {
- line = t_strconcat("mail_location=",
- line + 5, NULL);
- } else if ((p = strchr(str[i], '=')) == NULL)
+ if ((p = strchr(str[i], '=')) == NULL)
line = t_strconcat(str[i], "=yes", NULL);
else
line = str[i];
static const struct setting_define mail_storage_setting_defines[] = {
DEF(SET_STR_VARS, mail_location),
+ { SET_ALIAS, "mail", 0, NULL },
DEF(SET_STR, mail_cache_fields),
DEF(SET_STR, mail_never_cache_fields),
DEF(SET_UINT, mail_cache_min_mail_count),
DEF(SET_STR, separator),
DEF(SET_STR_VARS, prefix),
DEF(SET_STR_VARS, location),
+ { SET_ALIAS, "mail", 0, NULL },
+ { SET_ALIAS, "mail_location", 0, NULL },
DEF(SET_STR_VARS, alias_for),
DEF(SET_BOOL, inbox),