Hi List, If I use doveadm expunge in this format expunge will delete the email doveadm expunge -u test at planetseafood.com mailbox Archive ON '8-Nov-2010' But in this format doveadm expunge -A mailbox Archive ON '8-Nov-2010', it will list all the users in the database and display the following and no messages are expunged. doveadm(test at planetseafood.com@planetseafood.com): Info: User no longer exists, skipping. The iterate_query = SELECT username AS username, domain FROM mailbox which is correct for the DB layout. I am not using the expire plugin. Is this a permissions issue? Thanks Kilburn
On 08.11.2010 06:00, Kilburn Abrahams wrote:> doveadm expunge -u test at planetseafood.com mailbox Archive ON '8-Nov-2010' > > But in this format doveadm expunge -A mailbox Archive ON '8-Nov-2010', > it will list all the users in the database and display the following and > no messages are expunged. > > doveadm(test at planetseafood.com@planetseafood.com): Info: User no longer > exists, skipping. > > The iterate_query = SELECT username AS username, domain FROM mailbox > which is correct for the DB layout.What returns this query? Maybe you should just use "-u test" (without domain part)? -- Aleksander 'A.L.E.C' Machniak LAN Management System Developer [http://lms.org.pl] Roundcube Webmail Developer [http://roundcube.net] --------------------------------------------------- PGP: 19359DC1 @@ GG: 2275252 @@ WWW: http://alec.pl