remove debuging config
This commit is contained in:
parent
e65967abcf
commit
c147ac4700
23
README.md
23
README.md
@ -1,4 +1,4 @@
|
|||||||
[Dovecot](http://www.dovecot.org/) with imap, starttls, oauth2 and sieve rules.
|
[Dovecot](http://www.dovecot.org/) with imap, starttls, oauth2 proxy auth and sieve rules.
|
||||||
|
|
||||||
Uses [SSMTP](https://packages.debian.org/stable/mail/ssmtp) to send mails (for example if you have a redirect sieve rule).
|
Uses [SSMTP](https://packages.debian.org/stable/mail/ssmtp) to send mails (for example if you have a redirect sieve rule).
|
||||||
|
|
||||||
@ -9,6 +9,27 @@ Uses [SSMTP](https://packages.debian.org/stable/mail/ssmtp) to send mails (for e
|
|||||||
## HOSTNAME
|
## HOSTNAME
|
||||||
Fully qualified name of the mail host.
|
Fully qualified name of the mail host.
|
||||||
|
|
||||||
|
## GRANT_URL
|
||||||
|
OAuth2 url for token grants (password grant type).
|
||||||
|
|
||||||
|
## INTROSPECTION_URL
|
||||||
|
OAuth2 url for token information.
|
||||||
|
|
||||||
|
## USER_URL
|
||||||
|
OAuth2 url for getting available users, the username will be appended to the end.
|
||||||
|
|
||||||
|
## CLIENT_ID
|
||||||
|
Id of the OAuth2 application.
|
||||||
|
|
||||||
|
## CLIENT_SECRET
|
||||||
|
Secret of the OAuth2 application.
|
||||||
|
|
||||||
|
## OAUTH_ADMIN_USER
|
||||||
|
User with which to perform user lookups (does not have to be an admin, but needs enough rights for that).
|
||||||
|
|
||||||
|
## OAUTH_ADMIN_PASSWORD
|
||||||
|
Password for the `OAUTH_ADMIN_USER`.
|
||||||
|
|
||||||
## SSMTP_MAIL_RELAY
|
## SSMTP_MAIL_RELAY
|
||||||
Hostname and port for the used smtp relay (for example `mail.example.com:587`).
|
Hostname and port for the used smtp relay (for example `mail.example.com:587`).
|
||||||
|
|
||||||
|
@ -2,6 +2,3 @@ auth_username_chars = {{getenv "ALLOWED_USERNAME_CHARS" "äöüabcdefghijklmnopq
|
|||||||
auth_username_format = %n
|
auth_username_format = %n
|
||||||
auth_mechanisms = {{getenv "AUTH_MECHANISMS" "plain login oauthbearer xoauth2"}}
|
auth_mechanisms = {{getenv "AUTH_MECHANISMS" "plain login oauthbearer xoauth2"}}
|
||||||
!include auth-oauth2.conf.ext
|
!include auth-oauth2.conf.ext
|
||||||
auth_verbose = yes
|
|
||||||
auth_debug = yes
|
|
||||||
auth_debug_passwords = yes
|
|
||||||
|
@ -10,11 +10,6 @@ passdb {
|
|||||||
args = /etc/dovecot/dovecot-oauth2.plain.conf.ext
|
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 {
|
userdb {
|
||||||
driver = lua
|
driver = lua
|
||||||
args = file=/etc/dovecot/oauth2-userdb.lua blocking=yes
|
args = file=/etc/dovecot/oauth2-userdb.lua blocking=yes
|
||||||
|
@ -7,4 +7,3 @@ username_attribute = username
|
|||||||
tls_ca_cert_file = /etc/ssl/certs/ca-certificates.crt
|
tls_ca_cert_file = /etc/ssl/certs/ca-certificates.crt
|
||||||
use_grant_password = yes
|
use_grant_password = yes
|
||||||
pass_attrs = host=127.0.0.1 proxy=y proxy_mech=xoauth2 pass=%{oauth2:access_token}
|
pass_attrs = host=127.0.0.1 proxy=y proxy_mech=xoauth2 pass=%{oauth2:access_token}
|
||||||
debug = yes
|
|
||||||
|
@ -7,6 +7,4 @@ username_attribute = username
|
|||||||
tls_ca_cert_file = /etc/ssl/certs/ca-certificates.crt
|
tls_ca_cert_file = /etc/ssl/certs/ca-certificates.crt
|
||||||
use_grant_password = no
|
use_grant_password = no
|
||||||
pass_attrs = pass=%{oauth2:access_token}
|
pass_attrs = pass=%{oauth2:access_token}
|
||||||
debug = yes
|
|
||||||
username_format = %n
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user