From 3d78c07b3129e9db53856e734fb700979722f19e Mon Sep 17 00:00:00 2001 From: Timo Sirainen Date: Wed, 9 Oct 2024 17:19:10 +0300 Subject: [PATCH] settings, global: Replace FILE setting type syntax --- docs/core/plugins/mail_crypt.md | 2 +- docs/core/settings/types.md | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/docs/core/plugins/mail_crypt.md b/docs/core/plugins/mail_crypt.md index 09eb17bee..aea5e03d5 100644 --- a/docs/core/plugins/mail_crypt.md +++ b/docs/core/plugins/mail_crypt.md @@ -325,7 +325,7 @@ passdb static { password = pass fields { crypt_global_public_key_file = ecpubkey.pem - crypt_global_private_key/main/private_key = + crypt_global_private_key/main/private_key_file = inline: } } ``` diff --git a/docs/core/settings/types.md b/docs/core/settings/types.md index 828826c2d..0a90743c5 100644 --- a/docs/core/settings/types.md +++ b/docs/core/settings/types.md @@ -185,10 +185,10 @@ the process has dropped root privileges. The file paths do not support [[link,settings_variables,%variables]]. -All the `file` type settings end with a `_file` suffix. It's possible to give -inline values (instead of a path to a file) for the setting by removing the -`_file` suffix. For example userdb could be returning -`crypt_global_public_key=` without having to use files. +It's possible to give inline values (instead of a path to a file) for the +setting by using `inline:` prefix in the value. For example userdb could be +returning `crypt_global_public_key_file=inline:` without +having to use files. ## Named Filter