Cleaning up deleted users

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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




[Index of Archives]     [Cyrus SASL]     [Squirrel Mail]     [Asterisk PBX]     [Video For Linux]     [Photo]     [Yosemite News]     [gtk]     [KDE]     [Gimp on Windows]     [Steve's Art]
  Powered by Linux