Skip to content

Commit 34ba665

Browse files
sirainencmouse
authored andcommitted
auth/static: Mention that you can use mail_uid/gid/home as alternative to userdb static
1 parent eee1516 commit 34ba665

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

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

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,14 @@ userdb static {
6969
The home is optional. You can also return other [[link,userdb_extra_fields]].
7070
You can use [[variable]] everywhere.
7171

72+
For the above 3 fields a static userdb isn't actually necessary at all.
73+
Instead, you can just leave out the userdb configuration and set:
74+
75+
* [[setting,mail_uid]]
76+
* [[setting,mail_gid]]
77+
* [[setting,mail_home]]
78+
79+
7280
### LDA and passdb Lookup for User Verification
7381

7482
Unless your MTA already verifies that the user exists before calling

0 commit comments

Comments
 (0)