[Dovecot] Expunge -A cannot find users

Kilburn Abrahams kilburna at gmail.com
Mon Nov 8 20:54:47 EET 2010


On 11/08/2010 10:29 PM, A.L.E.C wrote:
> 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)?
>
Changed iterate_query = SELECT username FROM mailbox and it works. Sorry
for the noise.


More information about the dovecot mailing list