Skip to content

Commit bfe10f9

Browse files
committed
data, upgrade: Change mail_attachment_detection_options default
1 parent 8275e14 commit bfe10f9

File tree

3 files changed

+7
-0
lines changed

3 files changed

+7
-0
lines changed

data/settings.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7427,6 +7427,11 @@ See [[link,mail_cache]] for details and for the list of fields.`
74277427

74287428
mail_attachment_detection_options: {
74297429
values: setting_types.BOOLLIST,
7430+
default: `
7431+
- mbox, imapc: &lt;empty&gt;<br />
7432+
- others: add-flags content-type=!application/signature
7433+
<br /><br />
7434+
[[changed,mail_attachment_detection_options_changed]] The default was set.`,
74307435
text: `
74317436
Settings to control adding \`$HasAttachment\` or \`$HasNoAttachment\`
74327437
keywords. By default, all MIME parts with \`Content-Disposition=attachment\`

data/updates.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,7 @@ export const updates = {
5252
lua_auth_init: '2.4.0',
5353
lua_dns_client: '2.4.0',
5454
lua_script_init: '2.4.0',
55+
mail_attachment_detection_options_changed: '2.4.2',
5556
mail_cache_fields_changed: '2.4.1',
5657
mail_crypt_eddsa: '2.4.0',
5758
mail_crypt_fs_maybe: '2.4.0',

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,3 +39,4 @@ changed to `2.4.2`.
3939
| `service/anvil/unix_listener/anvil/mode` | `0600` | `0660` |
4040
| `service/anvil/unix_listener/anvil/group` | (empty = root) | `$SET:default_internal_group` |
4141
| [[setting,mailbox_directory_name_legacy]] | `yes` | `no` |
42+
| [[setting,mail_attachment_detection_options]] | | `add-flags content-type=!application/signature` |

0 commit comments

Comments
 (0)