Skip to content

Commit f84abb0

Browse files
committed
passwd_file: Document variable iteration usage
1 parent 6da18fd commit f84abb0

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed

data/updates.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,7 @@ export const updates = {
5858
migration_imapc_features: '2.4.0',
5959
namespace_prefix_shared_variables_changed: '2.4.0',
6060
pbkdf2_hashing: '2.4.0',
61+
passwd_file_iteration: '2.4.0',
6162
process_title_imap_process: '2.4.0',
6263
process_title_initializing: '2.4.0',
6364
process_title_mail_processes: '2.4.0',

docs/core/config/auth/databases/passwd_file.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,12 @@ passdb passwd-file {
6464
}
6565
```
6666

67+
[[added,passwd_file_iteration]]
68+
To iterate databases that use [[variable]] expansion in the path, you need to provide enough information when using
69+
e.g. [[doveadm,user]] to iterate. For example [[doveadm,user,*@domain.com]] would match with ``%{user | domain}`` expansion in
70+
the above example, and [[doveadm,user,*]] would iterate `/etc/auth/passwd` if available.
71+
This iteration works with all doveadm mail commands similarly.
72+
6773
### Variables
6874

6975
[[setting,passdb_fields]] and [[setting,userdb_fields]] can use

0 commit comments

Comments
 (0)