Re: reconstruct: delete orphaned mails in files system

Michael Menge <[email protected]>
Newsgroups gmane.mail.imap.cyrus
Message-ID <20241025143256.Horde.h4lTDuUkyVCrJIjC2LkDbKI@webmail.uni-tuebingen.de>
Hi,

check if the mails are flagged as \Deleted. Some Clients do not show  
these mails by default.
https://www.cyrusimap.org/2.5/imap/faqs/o-deleted-expired-expunged-purged.html

You use mbexamine to see the number of Mails Flagged as \Deleted with
mbexamine "user/loginID" | grep -e "^  Deleted: " -e "Mailbox Size:"  
-e "^Examining "

or which mails are flagged as deleted with "
mbexamine "user/loginID" | grep -B3 "FLAG_DELETED"

Which cyrus version are you using.


Quoting Marcus Schopen <[email protected]>:

> Hi,
>
> in a user's INBOX folder are about 10k files in the cyrus spool, all
> deleted. The folder is shown as empty in different clients. New
> incoming mails are displayed correctly. An unexpunge -l shows only
> about 20 deleted newser files. It seems that almost all files are not
> present in cyrus.index and that there are orphaned mails in files
> system. I don't want to reconstruct the folder as this will restore all
> mails. How do I delete all files in a folder that are not listed in the
> index, so that the folder is also emptied file system too.
>
> Cheers
> Marcus
>
>
>
> ------------------------------------------
> Cyrus: Info
> Permalink:  
> https://cyrus.topicbox.com/groups/info/Td104cee5e7304809-M40f71704ec59431b8858062f
> Delivery options: https://cyrus.topicbox.com/groups/info/subscription



--
--------------------------------------------------------------------------------
Michael Menge                          Tel.: (49) 7071 / 29-70316
Universität Tübingen                   Fax.: (49) 7071 / 29-5912
Zentrum für Datenverarbeitung          mail:  
[email protected]
Wächterstraße 76
72074 Tübingen


------------------------------------------
Cyrus: Info
Permalink: https://cyrus.topicbox.com/groups/info/Td104cee5e7304809-M6f1bc50a9157d210b93759be
Delivery options: https://cyrus.topicbox.com/groups/info/subscription
smime.p7s (application/pkcs7-signature, 6.5 KB) - not displayed
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.