On 29 Apr 2016, at 17:25, Matteo Gaito Test Account me@mgaito.net wrote:
Hi,
i've search a lot in order to find a way to delete account by dovecot but i found only this way
http://dovecot.org/list/dovecot/2011-November/079273.html
It's possible today delete a maildir remotely with doveadm or with dovecot api?
It would be difficult to write such a command to find all the files and database entries without explicitly adding such deletion-code to every plugin that writes something somewhere, which seems like an unnecessary large amount of work. Since it couldn't work for all installations anyway, I'd rather not make something that maybe works in some installations.
What I am planning though is to make it possible to add external scripts that can get executed via doveadm/API. This would allow writing a script that deletes all of user's data and there could be some example scripts as well.