Re: Folder deletion did not remove files from disc

From: Ken Murchison (no email)
Date: Thu Aug 02 2007 - 09:48:38 EDT

  • Next message: Jarod Watkins: "Virtual Domains"

    Tim Bannister wrote:
    > Recently we saw what we hope is a one-off error on our Cyrus deployment
    > here. This is Cyrus 2.3.7 on x86_64 RHEL4 based on Simon Matter's RPMs.
    > I'd used IMAP as "cyrus" to delete a number of users. This is done using
    > some rather old code:
    > # Change ACL for mailbox to be deleted
    >
    > $err = $imap->set_acl("user.$username", "cyrus", "lrswipdca");
    > if ($err != 0) {
    > print "$imap->{'Error'}\n";
    > }
    >
    > # Delete mailbox
    >
    > $err = $imap->delete("user.$username");
    > if ($err != 0) {
    > print "$imap->{'Error'}\n";
    > }
    >
    > All these mailboxes disappeared from the output of "ctl_mboxlist -d" as
    > I'd expect, but some remained on the filesystem. I didn't see a pattern
    > to which these were.
    >
    > I'd like to know if anyone has seen this before and any suggestions for
    > a cause / remedy. I have NOT been able to replicate the problem myself
    > but it is nevertheless a cause for some concern.

    I have seen this when a process has the mailbox opened at the time of
    the delete.

    -- 
    Kenneth Murchison
    Systems Programmer
    Project Cyrus Developer/Maintainer
    Carnegie Mellon University
    ----
    Cyrus Home Page: http://cyrusimap.web.cmu.edu/
    Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki
    List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html
    

  • Next message: Jarod Watkins: "Virtual Domains"





    Hosted Email Solutions

    Invaluement Anti-Spam DNSBLs



    Powered By FreeBSD   Powered By FreeBSD