23 Nov
                
                    2010
                
            
            
                23 Nov
                
                '10
                
            
            
            
        
    
                4:31 p.m.
            
        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@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:
- Send VERSION
 - Send command
 - Read reply line (one for prints, one containing "+" or "-" = success/failure)
 - Disconnect or goto 2.