[Dovecot] the right way to delete mailbox/user home
Davide Vaghetti
davide.vaghetti at ing.unipi.it
Thu Apr 21 13:59:36 EEST 2011
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On 04/20/2011 05:15 PM, Timo Sirainen wrote:
> On Tue, 2011-04-19 at 17:36 +0200, Davide Vaghetti wrote:
>
>> we are using dovecot with mdbox to provide mail services for a community
>> of 1000 academic users. We have quite a big turnover of guest users, so
>> we often have to deprovision the allocated resources, that is the
>> mailboxes. Given that the users are virtual, and that the mdbox
>> directory is located in the home directory of each virtual user (static
>> userdb), is it ok to simply delete (rm -rf) the home directory to get
>> rid of the mailbox?
>
> As long as you haven't enabled a separate attachment storage
> (mail_attachment_dir) it's safe to rm -rf.
>
>> Could the delete, without say a dovecot reload, be
>> harmful for dovecot processes and the like?
>
> No need to reload or anything. Other than the attachment storage, there
> is no global shared state across users.
>
Thanks a lot!
bye
davide
- --
Dott. Davide Vaghetti
Centro Servizi Informatici Facolta' di Ingegneria
Universita' di Pisa
PGP:
http://keys.keysigning.org:11371/pks/lookup?op=get&search=0x7A1B3BA18C4E0A4D
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
iEYEARECAAYFAk2wDhgACgkQehs7oYxOCk391QCdGggHTTQnVbw5y+JFb1wehGNs
TooAoIbGk4Mbb6ONn8whLm2zXiH1F00M
=KyfM
-----END PGP SIGNATURE-----
More information about the dovecot
mailing list