Hello,

There is a very old server running a very old courier-imap:

Courier-IMAP 4.10.0/i386-portbld-freebsd8.1/Sun Feb  5 20:50:23 PST 2012

Recently, an account on this server attempted to delete ~120GB of mail piled up 
in the inbox via an iPhone mail client.

This resulted in a massive copy of data to a .Deleted\ Messages/ maildir 
directory.

As this proceeded to use all free disk space, the IMAP server was shutdown to 
prevent system crash.

Now, there is a lot of mail stuck in the .Deleted\ Messages/tmp/ directory:

# du -shc -I .. -I . .maildir/.Deleted\ Messages/*
4.9M    .maildir/.Deleted Messages/courierimapkeywords
4.0k    .maildir/.Deleted Messages/courierimapuiddb
5.8M    .maildir/.Deleted Messages/cur
  0B    .maildir/.Deleted Messages/maildirfolder
4.0k    .maildir/.Deleted Messages/new
101G    .maildir/.Deleted Messages/tmp
101G    total

First I tried to rm this directory and restart sourier-imap, but the next time 
the acct client connects, it begins filling this directory again.

I also tried to delete this with a python imaplib script, but the mail in the 
tmp/ dir is not recognized by imaplib.

Is there some courier-imap admin utility that can clear/expunge this tmp/ dir?

Is there any method short of deleting the acct and starting over that will 
cause these messages to be purged from the tmp/ directory to cur/ where they 
could be deleted and expunged?

I'm about to shut down courier-imap again, since the free disk space is about 
to be depleted.

Any help is appreciated...

John A
2023-11-06


_______________________________________________
Courier-imap mailing list
[email protected]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-imap

Reply via email to