On 27.8.2012, at 16.33, Alessio Cecchi wrote: > How can I configure doveadm to listen via socket? I'm developing an > interface, in Ruby, to manage a mail server and could be useful.
http://wiki2.dovecot.org/Director#Doveadm_server has an example. Now, what the protocol itself looks like isn't documented anywhere currently.. You could look at what doveadm sends when it's talking to a remote doveadm server via -s host:port parameter. Or from code see doveadm-mail-server.c:doveadm_mail_server_handle()