directories not deleted when folder is

Phil Chambers P.A.Chambers at exeter.ac.uk
Mon Dec 20 07:15:53 EST 2004


I have discovered that directories are often being left in the file system when a 
user deletes the corresponding folder. cyrus.header, cyrus.index and cyrus.cache 
and all message files are removed, but not the directory for the folder itself.

I can't say what percentage of the time this happens when users delete using there 
e-mail client but I have just deleted 1581 user accounts using a perl script which 
uses deletemailbox().  Of the 1581 the directories remained for 11.  In fact, the 
whole directory structures remained for each user with all the files removed.

These accounts could not have been in use because the passwd entries for them were 
removed a few weeks ago and imap authentication could not have worked.

Any ideas?

Phil.
---------------------------------------
Phil Chambers (postmaster at exeter.ac.uk)
University of Exeter

---
Cyrus Home Page: http://asg.web.cmu.edu/cyrus
Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html




More information about the Info-cyrus mailing list