Cleaning up deleted users

"Deborah Pickett via Info" <[email protected]>
Newsgroups gmane.mail.imap.cyrus
Organization Polyfoam Australia Pty Ltd
Message-ID <[email protected]>
Hi everyone,

When someone leaves our company I bundle up all their email folders into 
a zip file, store that in our glacier backups for legal reasons, and 
then I use cyradm to delete all their mailboxes on the live server.

I suspect that this isn't completely sufficient to remove all trace of 
the user though. As space is tight on our mail server I want to clean up 
better.

If the user has access to other mailboxes (shared, or delegated by 
another user) then they'll still have ACLs on those folders. I can 
delete these with cyradm's dam command, easy.

There are entries in the various databases in /var/lib/cyrus/*. I assume 
that I can use cyr_dbtool judiciously to delete these.

I see per-user databases in /var/lib/cyrus/domain/x/xxx/user/y/yyy.*. 
Can I just delete these from the filesystem without disrupting imapd?

I see per-user quota files 
in /var/lib/cyrus/domain/x/xxx/quota/s/user.yyy*. Can I just delete 
these from the filesystem without disrupting imapd?

I see there are files left behind by squatter in 
/var/spool/cyrus/search/mail/domain/x/xxx/y/user/yyy/xapian. Can I just 
delete these from the filesystem without corrupting the index for other 
users?

The user's directory records are deleted so there's no risk of further 
mail being delivered through lmtp, and the user is unable to 
authenticate to imapd.

Have I missed anything?

I'm on Cyrus 3.0.8 but this question is probably not too sensitive to 
the version.

Thanks for any insight.

Deborah Pickett

------------------------------------------
Cyrus: Info
Permalink: https://cyrus.topicbox.com/groups/info/T152623e7b2c12b9a-M84d5fa06b9a820885ffb1404
Delivery options: https://cyrus.topicbox.com/groups/info/subscription
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.