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\ta...@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.