[Dovecot] Delete user data from Dovecot server
Hello,
I'm testing Dovecot 2.0.
I plan to use Dovecot 2.0 with thousands of domains per server. My user base is under virtual MySQL.
when I add a user in the database, it is automatically created in the structure of Dovecot at first login.
Is there a easy way to delete a user ?
Thank you.
-- Atenciosamente,
Thiago Henrique (21)2233-5950 ramal 27 Infra Estrutura Linux Hostnet Internet - www.hostnet.com.br Digirati Telecomunicações - www.digirati.com.br
On 17.8.2010, at 22.02, Thiago Henrique wrote:
when I add a user in the database, it is automatically created in the structure of Dovecot at first login.
The directories are created on login if the process has enough filesystem permissions to create them. With virtual users sharing a single UID this should be simple.
Is there a easy way to delete a user ?
Delete it from your database and rm -rf /var/vmail/domain/user
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Thiago Henrique said the following on 17/08/10 23:02:
when I add a user in the database, it is automatically created in the structure of Dovecot at first login.
Is there a easy way to delete a user ?
You have to do it externally (from the Dovecot point of view).
For instance, postfixadmin tool can run a script after you remove a user. You can do the same in the procedure you use to delete the user record.
Ciao, luigi
/ +--[Luigi Rosa]-- \
Utility is when you have one telephone, luxury is when you have two, opulence is when you have three, and paradise is when you have none. --Doug Larson -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
iEYEARECAAYFAkxrYQkACgkQ3kWu7Tfl6ZSD4gCgsbzKc1/YbeonTy+QyJvKxzeb b1IAn3jdqAmMnK1dAtMUBYkPbHcfi9dh =VMmH -----END PGP SIGNATURE-----
participants (3)
-
Luigi Rosa
-
Thiago Henrique
-
Timo Sirainen