diff --git a/docs/core/plugins/mail_crypt.md b/docs/core/plugins/mail_crypt.md index 5cca11eee..6c557521a 100644 --- a/docs/core/plugins/mail_crypt.md +++ b/docs/core/plugins/mail_crypt.md @@ -347,7 +347,8 @@ crypt_global_private_key main { ## Base64-encoded Keys Mail-crypt plugin can read keys that are base64 encoded. This is intended -mostly for providing PEM keys via userdb. +mostly for providing PEM keys via userdb, because it may be difficult to get +userdb to return multi-line values. Hence, this is possible: @@ -369,7 +370,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