Reio Remma
2018-Aug-23 12:44 UTC
Is the Doveadm HTTP API considered stable for production use?
On 23.08.18 15:35, Felipe Gasper wrote:> >> On Aug 23, 2018, at 8:14 AM, James Beck <james.beck at aa.net.uk> wrote: >> >>> On Wed, Aug 22, 2018 at 09:54:44AM -0400, Felipe Gasper wrote: >>> If you don?t want to use the HTTP API, you can use the raw doveadm protocol. >>> >>> https://wiki.dovecot.org/Design/DoveadmProtocol >>> >>> -FG >> Thanks, I didn't know about that. I suppose testing the HTTP API and >> then switching to the raw doveadm protocol over TCP if it turns out >> "crashy" wouldn't mean too much work. > Why use the HTTP API at all?How about JSON. :) Good luck, Reio
Felipe Gasper
2018-Aug-23 14:42 UTC
Is the Doveadm HTTP API considered stable for production use?
> On Aug 23, 2018, at 8:44 AM, Reio Remma <reio at mrstuudio.ee> wrote: > > On 23.08.18 15:35, Felipe Gasper wrote: >> >>> On Aug 23, 2018, at 8:14 AM, James Beck <james.beck at aa.net.uk> wrote: >>> >>>> On Wed, Aug 22, 2018 at 09:54:44AM -0400, Felipe Gasper wrote: >>>> If you don?t want to use the HTTP API, you can use the raw doveadm protocol. >>>> >>>> https://wiki.dovecot.org/Design/DoveadmProtocol >>>> >>>> -FG >>> Thanks, I didn't know about that. I suppose testing the HTTP API and >>> then switching to the raw doveadm protocol over TCP if it turns out >>> "crashy" wouldn't mean too much work. >> Why use the HTTP API at all? > > How about JSON. :)JSON and HTTP headers do make it easy to get started, but they?re inefficient compared to doveadm. JSON in particular limits us to UTF-8 text, so any application that needs to send non-UTF-8 payloads would have to apply an encoding layer. I?ve not looked into the HTTP API, so I don?t know what workaround might be in place to circumvent that limitation. <shrug> Different strokes for different folks, I guess. :) -F
James Beck
2018-Aug-23 15:35 UTC
Is the Doveadm HTTP API considered stable for production use?
Thanks all for the responses! It sounds safe to use so I'll give it a go :) The reason for using the API is that I'm managing replication pairs behind director, on their own private LAN, and I want to be able to have a single place I can connect in to to query them. I'm hoping this idea will make it simpler to manage than running the same scripts multiple times in multiple places. -- James Beck Andrews & Arnold Ltd Tel: 03333 400999 -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 833 bytes Desc: not available URL: <https://dovecot.org/pipermail/dovecot/attachments/20180823/459ea0ee/attachment-0001.sig>
Possibly Parallel Threads
- Is the Doveadm HTTP API considered stable for production use?
- Is the Doveadm HTTP API considered stable for production use?
- Is the Doveadm HTTP API considered stable for production use?
- two unrelated issues, lastlogin, and an out of memory fatal error
- Dovecot 2.3 on CentOS 7.