Re: Unable to see messages in mobile mail clients

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

 



Hello,

I run 3.4.

I see no relevant patches, actually, except
https://github.com/cyrusimap/cyrus-imapd/commit/0ea64b1993275f and:


    imap/mailbox_reconstruct_compare_update
    
    When cyrus.cache is missing (malformed):
    - mailbox_cacherecord(mailbox, record)  sets record->cache_offset
to 0.
    - reconstruct (and mailbox_reconstruct() ) are supposed to
regenerate cyrus.cache
    
    This change forces mailbox_reconstruct_compare_update to re-create
a missing cyrus.cache file.

diff --git a/imap/mailbox.c b/imap/mailbox.c
index ea293d4a6..2d441aaf6 100644
--- a/imap/mailbox.c
+++ b/imap/mailbox.c
@@ -6622,7 +6622,7 @@ static int
mailbox_reconstruct_compare_update(struct mailbox *mailbox,
 
     /* after all this - if it still matches in every respect, we don't
need
      * to rewrite the record - just return */
-    if (records_match(mailbox->name, &copy, record)) {
+    if (records_match(mailbox->name, &copy, record) && record-
>cache_offset) {
         r = 0 ;
         goto out;
     }


----------
I have no idea why I made the last one in 2019.

The jump from 2.5 to 3.4 is a huge one.  Default values have changed,
the mailboxes database got more fields.  Maybe you have not ran
`reconstruct -V max`…

You might try jumping 2.5 → 3.0 → 3.2 → 3.4 and see where the emails
get actually lost.

Or create a new user on 3.4. and see if that user can gee all its
emails in all applications.

Or create a new 3.4 setup and see if things work there.  If they work,
then there were migrations problems.

Greetings
  Дилян

On Thu, 2022-01-20 at 17:37 -0500, Chis Walker wrote:
> Дилян,
> 
> Are you running version 3.4.2?  Do you have any links to the patches?
> 
> Thanks,
> 
> Cyrus / Info / seediscussions +participants
> +delivery optionsPermalink

------------------------------------------
Cyrus: Info
Permalink: https://cyrus.topicbox.com/groups/info/T378c22819927bdc7-M49f4c71f0b03d1f1daf43225
Delivery options: https://cyrus.topicbox.com/groups/info/subscription




[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