more info about deleting users

Steffen Kaiser skdovecot at smail.inf.fh-brs.de
Mon May 2 07:19:28 UTC 2016


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Mon, 2 May 2016, Tom Sommer wrote:
> On 2016-04-29 16:25, Matteo Gaito Test Account wrote:
>
>> 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?
>
> Would love this as well

In fact, I would like to have:

+ full user backup
+ full user removal
+ restore of backup'ed user

incl. all data, Dovecot creates / maintains by itself, such as Quota, 
ACLs (of deleted user to other mailboxes), messages and all settings of 
mailboxes, indexes etc.pp.

however, part of the user data comes from my LDAP, there are some symlink 
tricks for some accounts, and some user data is faked depending on the 
protocol used. Because Dovecot is such flexible, I guess, there are some 
pitfalls, Timo & company cannot make a reliable code for.

Timo pointed out, that there is no internal "vision" of backup / removal 
in the current API and therefore one has to extend the API and check every 
backend driver / plugin, if it stores user information and how to backup / 
delete / restore it.

To make this reliable as Time wants Dovecot to be it will take some 
resources.

- -- 
Steffen Kaiser
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQEVAwUBVyb/gHz1H7kL/d9rAQLSCQgAs2P+QMUf082HHfjUaxGyd9B7/3FSeixh
63Pucgr+x8tJKH+BRkN4sEonXbHuQ7pkfmmA+2KughhAgCWhxlX0ZqsuXFvFSxS4
z9bwckx/Y1/FHZTKGLwlVQ/8b1HR3AkCeWv9hvw1bxBIa2JhPhe0SkVKwnF0yT/m
mxmOKws7TxXT+jRedA3WXUvKbXM5ntgZi5s+y+Wb466uKNzdTw2GZZyHbg5ppgL2
eAr6pS0ZT5cgT83dN3/a23cpldX+0gKvyXWI/cv+baMUiKJ3xoTXfNsSvHGBIWsV
mCUXuVZhGzBjPRqOvtExcXDuR9qFE6EMMMmPngYtghpz8y+juWBWAw==
=dbJ8
-----END PGP SIGNATURE-----


More information about the dovecot mailing list