Skip to content

Commit 20a636e

Browse files
committed
data, upgrade: Change mail_attachment_detection_options default
1 parent deb55f2 commit 20a636e

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
@@ -7445,6 +7445,11 @@ See [[link,mail_cache]] for details and for the list of fields.`
74457445

74467446
mail_attachment_detection_options: {
74477447
values: setting_types.BOOLLIST,
7448+
default: `
7449+
- mbox, imapc: &lt;empty&gt;<br />
7450+
- others: add-flags content-type=!application/signature
7451+
<br /><br />
7452+
[[changed,mail_attachment_detection_options_changed]] The default was set.`,
74487453
text: `
74497454
Settings to control adding \`$HasAttachment\` or \`$HasNoAttachment\`
74507455
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
@@ -53,6 +53,7 @@ export const updates = {
5353
lua_auth_init: '2.4.0',
5454
lua_dns_client: '2.4.0',
5555
lua_script_init: '2.4.0',
56+
mail_attachment_detection_options_changed: '2.4.2',
5657
mail_cache_fields_changed: '2.4.1',
5758
mail_crypt_eddsa: '2.4.0',
5859
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
@@ -40,3 +40,4 @@ changed to `2.4.2`.
4040
| `service/anvil/unix_listener/anvil/mode` | `0600` | `0660` |
4141
| `service/anvil/unix_listener/anvil/group` | (empty = root) | `$SET:default_internal_group` |
4242
| [[setting,mailbox_directory_name_legacy]] | `yes` | `no` |
43+
| [[setting,mail_attachment_detection_options]] | | `add-flags content-type=!application/signature` |

0 commit comments

Comments
 (0)