5 Apr
2016
5 Apr
'16
2:53 p.m.
On 19.03.2016 18:56, Jesus Cea wrote:
In case somebody find this useful:
https://blog.jcea.es/posts/20160211-delete_users_dovecot.html
"The expunge step" didn't work because "all" parameter was broken in 2.2.21. It's fixed now: https://github.com/dovecot/core/commit/6971937a6f3e93844dbd43bdbe903628e21a9... Also as workaround you can replace 'all' with '1:*'.
Here is a script that automates the procedure: https://github.com/moisseev/doveadm-tools/blob/master/bin/doveadm-mdboxrm