22 Nov
2010
22 Nov
'10
8:23 p.m.
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@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@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.