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