delete_mode: delayed not always working?

Bron Gondwana brong at fastmail.fm
Wed Sep 23 07:32:55 EDT 2009


On Wed, Sep 23, 2009 at 01:04:47PM +0200, Sebastian Hagedorn wrote:
> Hi,
> 
> we're running 2.3.14 with "delete_mode: delayed" in /etc/imapd.conf
> (actually it's the default in Simon Matter's RPM). It's generally
> working fine, and I have restored a few accidentally deleted
> mailboxes this way. But today there was a case where a mailbox seems
> to have been deleted immediately. Here's what I've found:
> 
> [...]
> 
> The output of "ctl_mboxlist -d  | grep DELETED" didn't include it,
> either. Fortunately I had a flashcopy from which I could restore the
> mailbox, but still I wonder what happened. Before I look at the code
> myself, I wanted to ask if someone knows offhand if there are known
> circumstances that cause mailboxes to be deleted immediately.

Take a look at the code yourself, and search for the magic string
"Localdelete".  It bypasses delayed delete.

Bron.


More information about the Info-cyrus mailing list