Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions data/settings.js
Original file line number Diff line number Diff line change
Expand Up @@ -7330,6 +7330,11 @@ See [[link,mail_cache]] for details and for the list of fields.`

mail_attachment_detection_options: {
values: setting_types.BOOLLIST,
default: `
add-flags "content-type=!application/signature"
<br /><br />
[[changed,mail_attachment_detection_options_changed]] The default value was
added. It used to be empty.`,
text: `
Settings to control adding \`$HasAttachment\` or \`$HasNoAttachment\`
keywords. By default, all MIME parts with \`Content-Disposition=attachment\`
Expand Down
1 change: 1 addition & 0 deletions data/updates.js
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ export const updates = {
lua_auth_init: '2.4.0',
lua_dns_client: '2.4.0',
lua_script_init: '2.4.0',
mail_attachment_detection_options_changed: '2.4.2',
mail_cache_fields_changed: '2.4.1',
mail_crypt_eddsa: '2.4.0',
mail_crypt_fs_maybe: '2.4.0',
Expand Down
11 changes: 11 additions & 0 deletions docs/installation/upgrade/2.4-to-2.4.x.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,3 +26,14 @@ changed from `2.4.0` to `2.4.1`.
| `service/auth/unix_listener/auth-userdb/group` | (empty = root) | `$SET:default_internal_group` |
| `service/lmtp/restart_request_count` | unlimited | 1 |
| [[setting,lmtp_user_concurrency_limit]] | unlimited | 10 |

### v2.4.1 to v2.4.2

#### Changed Setting Defaults

These changes don't take effect until [[setting,dovecot_config_version]] is
changed to `2.4.2`.

| Setting | Old Default Value | New Default Value |
| ------- | ----------------- | ----------------- |
| [[setting,mail_attachment_detection_options]] | | `add-flags content-type=!application/signature` | |