Skip to content

Commit df9d2a5

Browse files
sirainencmouse
authored andcommitted
settings, global: Replace FILE setting type syntax
1 parent 8a51820 commit df9d2a5

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

docs/core/plugins/mail_crypt.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -369,7 +369,7 @@ passdb static {
369369
password = pass
370370
fields {
371371
crypt_global_public_key_file = ecpubkey.pem
372-
crypt_global_private_key/main/private_key = <content of ecprivkey.pem>
372+
crypt_global_private_key/main/private_key_file = inline:<content of ecprivkey.pem>
373373
}
374374
}
375375
```

docs/core/settings/types.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -185,10 +185,10 @@ the process has dropped root privileges.
185185

186186
The file paths do not support [[link,settings_variables,%variables]].
187187

188-
All the `file` type settings end with a `_file` suffix. It's possible to give
189-
inline values (instead of a path to a file) for the setting by removing the
190-
`_file` suffix. For example userdb could be returning
191-
`crypt_global_public_key=<public key content>` without having to use files.
188+
It's possible to give inline values (instead of a path to a file) for the
189+
setting by using `inline:` prefix in the value. For example userdb could be
190+
returning `crypt_global_public_key_file=inline:<public key content>` without
191+
having to use files.
192192

193193
## Named Filter
194194

0 commit comments

Comments
 (0)