Thanks for answering Richard. The messages were not moved at the same time, it actually took 2 full days for gmail to fetch them through POP3 at various time intervals.
I tried a couple more e-mail clients and they don't have this issue. And again, if I set K-9 to sync messages from "any time", they do appear. Albeit in an incorrect order. So because of these 2 reasons I actually think this is a K-9 issue, or rather, something derived from the way K-9 requests e-mails via IMAP as you said? If I knew how it does the latter, maybe I could find a work-around. No luck yet :( On Monday, October 5, 2015 at 6:00:44 PM UTC+2, Richard wrote: > > > > > Date: Monday, October 05, 2015 08:16:25 -0700 > > From: "Jorge F." <[email protected] <javascript:>>> > > > > So, I migrated from a self-hosted mail account to gmail. (~12,000 > > mails between inbox and sent mails). > > > > Then, I added the account to K-9, via IMAP. My fetching mail > > options are set to just show the last month mails, with a limit > > of 50 messages per folder. > > > > K-9 will only show messages received *after *I added the account. > > So, an e-mail received yesterday won't show. If I set the > > fetching mails timespan to sync messages from "any time (no > > limit)" and set the folder messages limit to "all messages", then > > all of my 7,000 inbox will show. Set those options back to my > > desired just last month, 50 msgs limit, they're gone again. > > > > If I set the sync to "all messages" + limit the folder to 50 > > messages, K-9 will load the earlier 50 messages. It doesn't > > matter if I try to sort them by date in ascending or descending > > order, K-9 will always show the earliest ones (and then proceed > > to sort *those *in ascending or descending order!). > > > > I've tried moving ALL of the inbox messages to a temp directory > > (label) in gmail, mark them as unread, then back to the inbox to > > no avail. This workaround is suggested here: > > https://code.google.com/p/k9mail/issues/detail?id=2135 which > > describes the same problem I'm having. But it doesn't work for me. > > > > Can anyone please help? I'd hate moving from K-9, I love it! > > > > Thanks! > > When you move messages between IMAP servers using an IMAP client you > totally muck the "date received" on the messages. All the messages > moved at the same time will have (roughly) the same "date received" > on the new server. You can mitigate this some by moving things in > chunks -- oldest to newest. This accounts why you are seeing the > "older 50" when you select "all messages" with a count limit. > > I don't believe that moving the messages to a new gmail label will > have any material effect on their server's perspective of when the > messages were received. In theory, "date sent", as opposed to "date > received", should be ok still. > > I'm not certain why you are only seeing messages received since you > added the gmail account to K-9, but in general, these are > server-side issues. K-9 is making the request and simply displaying > what is returned by the server. With desktop clients you're less > likely to see these issues because you generally don't limit the > retrieval set. > > > -- -- You received this message because you are subscribed to the K-9 Mail Users List. To post to this group, send email to [email protected] To unsubscribe, email [email protected] To report an issue with K-9 Mail, visit http://code.google.com/p/k9mail/issues/list For more options, visit this group at http://groups.google.com/group/k-9-mail --- You received this message because you are subscribed to the Google Groups "K-9 Mail" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
