imap clients say i have 4K messages but spool has 12894 files

Nic Bernstein nic at nicbernstein.com
Tue May 26 11:21:57 EDT 2020


On 5/26/20 9:00 AM, Brian J. Murrell wrote:
> On Tue, 2020-05-26 at 08:47 -0500, Nic Bernstein wrote:
>>      |expunge_mode:| delayed
>>
>>          The mode in which messages (and their corresponding cache
>>          entries) are expunged. “semidelayed” mode is the old behavior
>> in
>>          which the message files are purged at the time of the
>> EXPUNGE,
>>          but index and cache records are retained to facilitate
>> QRESYNC.
>>          In “delayed” mode, which is the default since Cyrus 2.5.0,
> So this doesn't apply to my 2.4.17 then does it?

Brian,
My sincere apologies!  I should have read your original post more 
completely.  My bad.
     -nic

>
>> As shown in this excerpt from the manpage
>> <
>> http://www.cyrusimap.org/imap/reference/manpages/configs/imapd.conf.html>
>> ;,
>> the default is now "delayed," since v2.5.0.
> Again, I am running 2.4.17, so does this apply?
>
>> Those files on disk are
>> expunged messages which have not yet been deleted.  They may be
>> recovered via the 'unexpunge' command, as described on its manpage,
>> here
>> <
>> http://www.cyrusimap.org/imap/reference/manpages/systemcommands/unexpunge.html?highlight=unexpunge>
>> ;.
>> To see a list of such messages, try 'sudo -u cyrus -c "unexpunge -l
>> user/username at domain.tld'
> # sudo -u cyrus bash -c "/usr/lib/cyrus-imapd/unexpunge -l user.brian"
> [nothing returned]
>
> b.

-- 
Nic Bernstein                               nic at nicbernstein.com
https://www.nicbernstein.com
https://www.linkedin.com/in/nic-b-26577a178/



More information about the Info-cyrus mailing list