doveadm -A operations failing due to broken mdbox

Pascal Volk user+dovecot at localhost.localdomain.org
Tue Dec 9 17:39:36 UTC 2014


On 12/09/2014 11:23 AM, Ralf Hildebrandt wrote:
> I'm using "/usr/bin/doveadm purge -A" to purge the mdboxes of my users.
> 
> Unfortunately this command terminates prematurely once it reaches a
> defective mdbox!
> 
> Is there a workaround for this?
> 
> Like using doveadm to get a list of valid users and then run "doveadm
> purge -u" on each of those?
> 

Are you looking for a workaround like this?

for user in `doveadm user \*`; do doveadm purge -u $user; done


Regards,
Pascal
-- 
The trapper recommends today: defaced.1434318 at localdomain.org


More information about the dovecot mailing list