add lua app password script
This commit is contained in:
parent
044dc68da6
commit
4aa32aaa99
4 changed files with 64 additions and 3 deletions
|
@ -3,6 +3,11 @@ passdb {
|
|||
args = /etc/dovecot/dovecot-ldap.conf.ext
|
||||
}
|
||||
|
||||
passdb {
|
||||
driver = lua
|
||||
args = file=/etc/dovecot/app-password-lookup.lua
|
||||
}
|
||||
|
||||
userdb {
|
||||
driver = static
|
||||
args = uid=vmail gid=vmail home=/var/lib/vmail/mail/%d/%n
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
uris = {{getenv "LDAP_URI"}}
|
||||
uris = ldap://{{getenv "LDAP_URI"}}
|
||||
dn = {{getenv "LDAP_BIND_DN"}}
|
||||
dnpass = {{getenv "LDAP_BIND_PASSWORD"}}
|
||||
tls = {{getenv "LDAP_USE_TLS" "yes"}}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue