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

On Thu, 5 Feb 2015, Thomas Moulia wrote:

As part of the tests, I need to add and destroy dovecot users. Is there
an interface or tool for this sort of user management at a higher-level
than editing the user store, e.g. passwd-file, sql, ...?

It's actually the way around: pick any user management and configure Dovecot to use its database.

Depending on what you want, you need a system, that also removes the user's home dirs and/or creates them from a skeleton.

If you have already experience with scripting and LDAP or SQL, it should be easy to create some scripts to add/remove necessary data to/from LDAP or SQL and add/remove the user's home dir.

After doing a change in the user database, make sure to run
doveadm auth cache flush
to force Dovecot to pick up the changes, before you fire up the next test.

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

iQEVAwUBVNRuY3z1H7kL/d9rAQKiqQf/WJMocgXFmxzTtEXEmWNkgjL4PB1X4Nua
H9G0Vkyr6zTsvQgFyaQigMes5d3CmZzY/095pdLLP14NGquFI2BgrF5s+WMYhD/w
Ao2Vxk437yQss5/vXodxN24xwwSIaBlGxaOTm7yeBwJy7asChdqQlu/9Ewsw5RYe
6FHKE9cGe0ve13eAZYNT6Dis6VpGDj7ljHRwfelj5FZLA+9AKDksmiTzK43Rc0yV
XkxmLKyiygYS8/P23cNz2E4iwV/lweCrdgw1OUEUag0tnOvXXo62smqbLqLIDaM2
OzOEb08eHEFPAa7QorDWIMBpuJ1IYXOue5ImfCNZRdP+kzEAA8M0RQ==
=x/8k
-----END PGP SIGNATURE-----

Reply via email to