diff --git a/src/lib-storage/mail-storage-settings.c b/src/lib-storage/mail-storage-settings.c index 15c92fb993..6728d121fd 100644 --- a/src/lib-storage/mail-storage-settings.c +++ b/src/lib-storage/mail-storage-settings.c @@ -514,8 +514,6 @@ static bool mail_storage_settings_check(void *_set, pool_t pool, if (strcmp(opt, "add-flags-on-save") == 0) { set->parsed_mail_attachment_detection_add_flags_on_save = TRUE; - } else if (strcmp(opt, "add-flags-on-fetch") == 0) { - set->parsed_mail_attachment_detection_add_flags_on_fetch = TRUE; } else if (strcmp(opt, "exclude-inlined") == 0) { set->parsed_mail_attachment_exclude_inlined = TRUE; } else if (strncmp(opt, "content-type=", 13) == 0) { diff --git a/src/lib-storage/mail-storage-settings.h b/src/lib-storage/mail-storage-settings.h index 1b2dd07148..d15e8a300f 100644 --- a/src/lib-storage/mail-storage-settings.h +++ b/src/lib-storage/mail-storage-settings.h @@ -69,7 +69,6 @@ struct mail_storage_settings { const char *const *parsed_mail_attachment_content_type_filter; bool parsed_mail_attachment_exclude_inlined; bool parsed_mail_attachment_detection_add_flags_on_save; - bool parsed_mail_attachment_detection_add_flags_on_fetch; }; struct mail_namespace_settings {