Re: cyr_deliver not deleting messages from file system - what am I doing wrong?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The first thing that comes to mind is to make sure that Thunderbird has actually compacted the folders.


If you run this, do you get the expected number of messages?

unexpunge -l user.ton|grep UID|wc -l


Change UID to Expg and remove "wc -l" in the above command to see when the messages were expunged.


On 6/10/24 05:34, Binarus wrote:
Dear all,

on one my Cyrus imapd installations, I am running out of disk space. Solving the problem the right way will take some days, so I decided to delete about 100,000 messages as a first measure (those messages definitely don't need to be kept any longer). I have used Thunderbird to delete those messages (of course, I have not moved them to trash, but have really deleted them), and afterwards have used cyrdump to verify that they actually are flagged as deleted.

To finally free up the space on the disk, I wanted to use cyr_expire. However, the output of

/usr/lib/cyrus/bin/cyr_expire -D 60s -E 60s -X 60s -v

only told me that nothing happened (last lines of the very lengthy output, empty lines partly omitted):


...
cleaning up expunged messages in user.ton
cleaning up expunged messages in user.ton.Drafts
cleaning up expunged messages in user.ton.Junk
cleaning up expunged messages in user.ton.Sent
cleaning up expunged messages in user.ton.Trash

Expired 0 and expunged 0 out of 293918 messages from 3867 mailboxes

Removing deleted mailboxes older than 0.00 days

Removed 0 deleted mailboxes


Of course, after having deleted the messages in Thunderbird, I have waited several minutes before I have issued the command mentioned above.

Does anybody have an idea why cyr_expire refuses to purge the deleted messages?

I have to add that no MUA or other client was connected to the server when I have issued the command. The Cyrus imapd version is 3.2.3, the OS is Debian 11.9 / amd64.

Thank you very much in advance,

Binarus




------------------------------------------
Cyrus: Info
Permalink: https://cyrus.topicbox.com/groups/info/Te8b9eb9ffbec5936-Ma3330bcdf28dea671dc8c3b6
Delivery options: https://cyrus.topicbox.com/groups/info/subscription
begin:vcard
fn:Patrick Boutilier
n:Boutilier;Patrick
org:;Nova Scotia Department of Education and Early Childhood Development
adr:;;2021 Brunswick Street;Halifax;NS;B3K 2Y5;Canada
email;internet:boutilpj@xxxxxxxxxxx
title:WAN Communications Specialist
tel;work:902-424-6800
tel;fax:902-424-0874
x-mozilla-html:FALSE
version:2.1
end:vcard


[Index of Archives]     [Cyrus SASL]     [Squirrel Mail]     [Asterisk PBX]     [Video For Linux]     [Photo]     [Yosemite News]     [gtk]     [KDE]     [Gimp on Windows]     [Steve's Art]
  Powered by Linux