On 3. Feb 2025, at 16.17, stephen--- via dovecot <dovecot@dovecot.org> wrote:
funny - i also talked to apple business support and have a case since my FB15701211 never went anywhere. they took a day or so and talked to engineers and stated that there were no other official apple support requests for this issue - which i have to believe means no large org they care about has this issue - or uses dovecot. My Apple Support Case was/is: 102513275820 which can be used as reference if you want to try -
otherwise i am exploring alternatives to dovecot now.
removing IDLE capability is getting us by for now.
I haven't noticed any issues on my iPhone so far, and I haven't heard of our customers complaining about this to us either. So difficult to say when/why it happens..
I think to get anywhere forward with this, we'd need to see IMAP rawlogs from a session (or perhaps multiple sessions for the whole user) where this problems happens. Especially if the problem is IDLE-related, I'd want to see things going wrong after IDLE. Of course, this likely means seeing some email contents in there, but those could be replaced with some <removed>.
As for how to do rawlogs: https://doc.dovecot.org/2.3/settings/core/#core_setting-rawlog_dir
And better not to have imap-hibernation enabled, since that could confuse debugging.