diff --git a/data/updates.js b/data/updates.js index 355eda9ec..f3f04c73e 100644 --- a/data/updates.js +++ b/data/updates.js @@ -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_syntax_heredoc_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', diff --git a/docs/core/settings/syntax.md b/docs/core/settings/syntax.md index 834ce055d..722454c36 100644 --- a/docs/core/settings/syntax.md +++ b/docs/core/settings/syntax.md @@ -449,6 +449,39 @@ read immediately whenever parsing the configuration file, so if it changes afterwards it requires a configuration reload to see the changes. This functionality is especially useful for reading SSL certificates and keys. +## Inline Multi-line Values (Heredoc) + +[[added,settings_syntax_heredoc_added]] + +It's possible to set multi-line values directly in the configuration file +using the heredoc syntax `<` without -having to use files. +It's possible to give inline values (instead of a path to a file) using the +[[link,settings_syntax,heredoc syntax]] (`<`. ## Named Filter