Displaying 1 result from an estimated 1 matches for "secret64".
Did you mean:
secret
2019 Dec 13
1
Doveadm HTTP API and CORS
...that, unless the response comes with a
specific CORS header.
Here how to work around with a proxy:
> # /etc/dovecot/local.conf
> doveadm_allowed_commands = fetch
> doveadm_api_key = secret
> service doveadm {
> inet_listener http {
> port = 8084
> }
> }
> # secret64 = echo -n secret | base64
> # /etc/apache/.../some-site.conf
> ProxyVia Block
> <Location /doveadm/v1>
> RequestHeader set Authorization "X-Dovecot-API secret64"
> ProxyPass http://localhost:8084/doveadm/v1 retry=0 timeout=5
> ProxyPassReverse http://localh...