From: Marco Bettini Date: Tue, 13 Jan 2026 16:49:53 +0000 (+0000) Subject: lib-storage: revert maildir/mail_attachment_detection_options to "" for CE X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6bb9f882975443a16660e3ab0ff7b703128f54fe;p=thirdparty%2Fdovecot%2Fcore.git lib-storage: revert maildir/mail_attachment_detection_options to "" for CE as it breaks on maildir new/ because message flags can exist only in cur/ --- diff --git a/src/lib-settings/settings-history-core.txt b/src/lib-settings/settings-history-core.txt index b065dfce0a..8b642cf9ac 100644 --- a/src/lib-settings/settings-history-core.txt +++ b/src/lib-settings/settings-history-core.txt @@ -12,6 +12,8 @@ default lazy_expunge_only_last_instance no 2.4.3 3.2.0 default passdb_ldap/passdb_default_password_scheme CRYPT 2.4.3 3.2.0 default passdb_passwd/passdb_default_password_scheme CRYPT 2.4.3 3.2.0 default passdb_default_password_scheme PLAIN 2.4.3 3.2.0 +default maildir/mail_attachment_detection_options add-flags content-type=!application/signature 2.4.3 - +default maildir/mail_attachment_detection_options 2.4.2 - default mail_attachment_detection_options 2.4.2 3.2.0 default @metric_defaults/proxy/metric auth_successes,auth_failures,login_aborted 2.4.2 3.2.0 default fts_search_read_fallback yes - 3.2.0 diff --git a/src/lib-storage/mail-storage-settings.c b/src/lib-storage/mail-storage-settings.c index 3ac7c8e493..ea7a801b67 100644 --- a/src/lib-storage/mail-storage-settings.c +++ b/src/lib-storage/mail-storage-settings.c @@ -213,6 +213,8 @@ static const struct setting_keyvalue mail_storage_default_settings_keyvalue[] = useful. Even when using imapc with shared folders, the missing attachment flags would normally be added by the remote server. */ { "imapc/mail_attachment_detection_options", "" }, + /* The unprefixed default breaks store to new/ directory */ + { "maildir/mail_attachment_detection_options", "" }, { NULL, NULL } };