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

"Brian J. Murrell" <[email protected]>
Newsgroups gmane.mail.imap.cyrus
Message-ID <[email protected]>
On Tue, 2020-05-26 at 09:33 -0400, Brian J. Murrell wrote:
> Hi.
> 
> Every IMAP client I query my cyrus imapd 2.4.17 server with says I
> have
> ~4K messages in my INBOX.  However when I do a listing of
> /var/spool/imap/b/user/brian/ it shows almost 13K files.
> 
> None of these include messages which have been deleted but not
> expunged.  I manually expunge my mailbox many times per day.
> 
> If I'm understanding mbexamine's output correctly, I have files on
> disk
> that are not being displayed by mbexmine.  My understanding of
> mbexamine's output is that on a line formatted as such:
> 
> 000001> UID:00089183   INT_DATE:[redacted] SENTDATE:[redacted]
> SIZE:1537  
> 
> that the 00089183 is the reference to the file on the spool in
> /var/spool/imap/b/user/brian/89183.
> 
> Is that correct?  If so, I definitely have files on the disk which
> are
> not found in any "000001> UID" line from mbexamine.  ~9600 of them. 
> That seems to make up the difference between what an IMAP client sees
> and how many files are on disk.
> 
> I also have multiple occurrences of the same "000001> UID:" and where
> there are no matching files on the disk.  Should that be possible?
> 
> So how come the huge discrepancies and how do I reconcile them?

No other thoughts on how I can reconcile this gross discrepancy?

Ultimately I have an IMAP spool that is growing without bound due to
messages continuing to live on the spool beyond their life in the index
and getting orphaned.

Cheers,
b.

----
Cyrus Home Page: http://www.cyrusimap.org/
List Archives/Info: http://lists.andrew.cmu.edu/pipermail/info-cyrus/
To Unsubscribe:
https://lists.andrew.cmu.edu/mailman/listinfo/info-cyrus
signature.asc (application/pgp-signature, 488 B)
-----BEGIN PGP SIGNATURE-----

iQEzBAABCAAdFiEE8B/A+mOVz5cTNBuZ2sHQNBbLyKAFAl7Vr0YACgkQ2sHQNBbL
yKAEnQf/cV/lCML7FjMFWw//al7U66e2C+sSUqC5vILgg4sFB8ZVtqXzrLEyb1q+
uGyiNEai1bOYkSBR3Jtp+3NA5ONwA3SEsu3V1By/n1d1bQ0Hc1dErUZC2Do/QnBJ
fCGJ/O2acIyGzRji6HWC5qODECM7lXwnUoJTmAdT2/yl/zDxKGSFaarK/TyAktcn
Zp8AI1mhZUjJB4BM8BxG5LfyHuOopPKKuHi5XsqskNzMVP2MIPnsURfE9w+yF3Or
qkhSYSH8uJ6ii1pHVNaIkf2Ty7wnkvbsdrayDBl3KSs59+DP42Y1jL6rCLOPEB6N
JVAtjyv9qjiIpbSmhMV6L5JHmtrsug==
=dUI1
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.