[Dovecot] Doveadm

Timo Sirainen tss at iki.fi
Tue Nov 23 17:31:32 EET 2010


On Tue, 2010-11-23 at 09:07 -0200, Alex Baule wrote:
> the command that i use now is:
> 
> "VERSION\tdoveadm-server\t1\t0\nD\talex at exemplo.com.br\tmailbox list\t8\n"
> 
> the command is OK, and i think the parameters too, but this not return the
> mailbox list in unix socket.

What's the "8" parameter doing there? You're now asking a mailbox list
of a mailbox named "8", and if there is none you won't get any matches.

> how is the protocol flow to doveadm unix socket ?
> 
> something like.
> 
> write X
> Read Y
> shutdown socket
> 
> or have another order todo this ?

Looks like there were several bugs. I fixed them now in hg. Anyway, you
can now do:

1. Send VERSION
2. Send command
3. Read reply line (one for prints, one containing "+" or "-" =
success/failure)
4. Disconnect or goto 2.



More information about the dovecot mailing list