Doveadm HTTP API and CORS
13 Dec
2019
13 Dec
'19
9:28 p.m.
While toying around with Doveadmin HTTP api I noticed, there is not much hype around it. Let's change that.
Doveadmin REST API so to speak provides a web server. When doing /ajax/ requests, modern browsers block that, unless the response comes with a specific CORS header.
Here how to work around with a proxy:
Intranet only this might be good enough, TLS with username/password Basic-Authentication passthrough might be used for better security.
Shameless plug: taken from https://gist.github.com/hungerburg/00d582bf1a6bf3c622797bf5e759f75b
-- peter
2106
Age (days ago)
2106
Last active (days ago)
1 comments
2 participants
participants (2)
-
Aki Tuomi
-
Peter Chiochetti