Skip to content

Commit 97ba05a

Browse files
sirainencmouse
authored andcommitted
data, upgrade: Change mail_attachment_detection_options default
1 parent 3d60315 commit 97ba05a

File tree

3 files changed

+17
-0
lines changed

3 files changed

+17
-0
lines changed

data/settings.js

+5
Original file line numberDiff line numberDiff line change
@@ -7330,6 +7330,11 @@ See [[link,mail_cache]] for details and for the list of fields.`
73307330

73317331
mail_attachment_detection_options: {
73327332
values: setting_types.BOOLLIST,
7333+
default: `
7334+
add-flags "content-type=!application/signature"
7335+
<br /><br />
7336+
[[changed,mail_attachment_detection_options_changed]] The default value was
7337+
added. It used to be empty.`,
73337338
text: `
73347339
Settings to control adding \`$HasAttachment\` or \`$HasNoAttachment\`
73357340
keywords. By default, all MIME parts with \`Content-Disposition=attachment\`

data/updates.js

+1
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,7 @@ export const updates = {
5151
lua_auth_init: '2.4.0',
5252
lua_dns_client: '2.4.0',
5353
lua_script_init: '2.4.0',
54+
mail_attachment_detection_options_changed: '2.4.2',
5455
mail_cache_fields_changed: '2.4.1',
5556
mail_crypt_eddsa: '2.4.0',
5657
mail_crypt_fs_maybe: '2.4.0',

docs/installation/upgrade/2.4-to-2.4.x.md

+11
Original file line numberDiff line numberDiff line change
@@ -26,3 +26,14 @@ changed from `2.4.0` to `2.4.1`.
2626
| `service/auth/unix_listener/auth-userdb/group` | (empty = root) | `$SET:default_internal_group` |
2727
| `service/lmtp/restart_request_count` | unlimited | 1 |
2828
| [[setting,lmtp_user_concurrency_limit]] | unlimited | 10 |
29+
30+
### v2.4.1 to v2.4.2
31+
32+
#### Changed Setting Defaults
33+
34+
These changes don't take effect until [[setting,dovecot_config_version]] is
35+
changed to `2.4.2`.
36+
37+
| Setting | Old Default Value | New Default Value |
38+
| ------- | ----------------- | ----------------- |
39+
| [[setting,mail_attachment_detection_options]] | | `add-flags content-type=!application/signature` | |

0 commit comments

Comments
 (0)