[Dovecot] Doveadm

Alex Baule alexwbaule at gmail.com
Tue Nov 23 13:07:35 EET 2010

Hi Timo....

It's me again ! lol

the expunge command works fine in unix socket.

Now, i try to do others commands, like someone that return itens......

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.

how is the protocol flow to doveadm unix socket ?

something like.

write X
Read Y
shutdown socket

or have another order todo this ?

Tks !

2010/11/22 Alex Baule <alexwbaule at gmail.com>

> Tks, now it's working, i need to send every in one "write",
> (header+command)
> 2010/11/22 Timo Sirainen <tss at iki.fi>
> On Mon, 2010-11-22 at 13:38 -0200, Alex Baule wrote:
>> > Im have a situation here with the syntax for doveadm in a unix socket.
>> >
>> > My string have it:
>> >
>> >  std::string ask = "D\texpunge\tu\talex at exemplo.com.br
>> > \tmailbox\t\\*\tsavedbefore\t1s\n";
>> Looks like there was also a bug, fixed:
>> http://hg.dovecot.org/dovecot-2.0/rev/b724ef3bdc0a
>> So what you need to send is:
>> VERSION\tdoveadm-server\t1\t0
>> D\tuser at domain\texpunge\tmailbox\t*\tsavedbefore\t1s
>> There is no escaping for '*', in command line you need to do that only
>> because shell otherwise expands it.

More information about the dovecot mailing list