Skip to content
Open
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
24 changes: 24 additions & 0 deletions data/settings.js
Original file line number Diff line number Diff line change
Expand Up @@ -836,6 +836,30 @@ single script execution.
\`0\` means redirect is prohibited.`
},

sieve_max_notifications: {
Comment thread
cmouse marked this conversation as resolved.
added: {
settings_sieve_max_notifications_added:`
Setting to limit maximum number of notifications per
script is added.`
},
advanced: true,
tags: [ 'sieve', 'sieve-enotify' ],
plugin: 'sieve',
default: 2,
values: setting_types.UINT,
seealso: [ 'sieve_max_redirects', '[[link,sieve_enotify]]' ],
text: `
The maximum number of \`notify\` actions ([[rfc,5435]]) that can be performed
during a single script execution.

\`0\` means \`notify\` is prohibited; scripts using the \`notify\` command will
fail to compile with "local policy prohibits the use of a notify action".

Note that this is independent of [[setting,sieve_max_redirects]]; the
\`redirect\` action and the \`notify\` mailto method are governed by
separate limits.`
},

sieve_resource_usage_timeout: {
tags: [ 'sieve' ],
plugin: 'sieve',
Expand Down
1 change: 1 addition & 0 deletions data/updates.js
Original file line number Diff line number Diff line change
Expand Up @@ -171,6 +171,7 @@ export const updates = {
settings_passdb_mechanisms_filter_added: '2.4.0',
settings_passdb_static_password_added: '2.4.0',
settings_service_reuse_port_added: '2.4.4',
settings_sieve_max_notifications_added: '2.4.5',
settings_ssl_client_ca_added: '2.4.0',
settings_ssl_imapc_removed: '2.4.0',
settings_ssl_request_client_cert_changed: '2.4.0',
Expand Down
Loading