22 lines
420 B
Cheetah
22 lines
420 B
Cheetah
passdb {
|
|
driver = oauth2
|
|
mechanisms = oauthbearer xoauth2
|
|
args = /etc/dovecot/dovecot-oauth2.token.conf.ext
|
|
}
|
|
|
|
passdb {
|
|
driver = oauth2
|
|
mechanisms = plain login
|
|
args = /etc/dovecot/dovecot-oauth2.plain.conf.ext
|
|
}
|
|
|
|
#userdb {
|
|
# driver = static
|
|
# args = uid=vmail gid=vmail username_format=%n home=/var/lib/vmail/mail/%n
|
|
#}
|
|
|
|
userdb {
|
|
driver = lua
|
|
args = file=/etc/dovecot/oauth2-userdb-lua blocking=yes
|
|
}
|