delete folder does not delete directory

Rob Siemborski rjs3 at
Fri Jun 6 18:18:34 EDT 2003

On Fri, 6 Jun 2003, Piet Ruyssinck wrote:

> Cyrus 2.1.12 on Solaris 9 (sparc).
> It seems that when one deletes a folder via IMAP, the directory under
> /var/spool/imap/... is not always removed.  I'm still investigating if
> this behaviour depends on the mail client.  Is this a known problem ?

Known "problem".

If you delete a mailbox that is SELECTED (in another session), then the
directory can't be removed because the process is chdir'd into it.

I have a (probably slightly out of date at this point) patch to fix
cyrus's use of chdir(), see:


Rob Siemborski * Andrew Systems Group * Cyert Hall 207 * 412-268-7456
Research Systems Programmer * /usr/contributed Gatekeeper

More information about the Info-cyrus mailing list