https://bugs.kde.org/show_bug.cgi?id=502560
Bug ID: 502560 Summary: [Office365][Imap][akonadi] failure to sync/pull all messages from an Inbox with 10GB of e-mails. (infinite loop) Classification: Frameworks and Libraries Product: Akonadi Version: 6.3.3 Platform: Other OS: Other Status: REPORTED Severity: normal Priority: NOR Component: IMAP resource Assignee: kdepim-bugs@kde.org Reporter: boris.sh.1983+kde.bugzi...@gmail.com CC: c...@carlschwan.eu Target Milestone: --- When starting a sync with Office365 for a hosted domain at Office365 with an INBOX of 10GB and more the connection dropps and sync/download fails. Any restart causes pulling from the start (inifite loop). context: On a new installation of fedora 41, with a full system update. rpm -qi akonadi-server Name : akonadi-server Version : 24.12.3 Release : 1.fc41 Architecture: x86_64 Install Date: Tue 08 Apr 2025 14:15:37 Group : Unspecified Size : 12891325 License : BSD-3-Clause AND CC0-1.0 AND GPL-2.0-only AND GPL-2.0-or-later AND GPL-3.0-only AND LGPL-2.0-only AND LGPL-2.0-or-later AND LGPL-2.1-or-later AND MIT Signature : RSA/SHA256, Fri 07 Mar 2025 01:26:53, Key ID d0622462e99d6ad1 Source RPM : akonadi-server-24.12.3-1.fc41.src.rpm Build Date : Thu 06 Mar 2025 17:14:52 Build Host : buildhw-x86-09.iad2.fedoraproject.org Packager : Fedora Project Vendor : Fedora Project URL : https://invent.kde.org/frameworks/akonadi Bug URL : https://bugz.fedoraproject.org/akonadi-server Summary : PIM Storage Service Description : PIM Storage Service. When I start akonadictl I get : KIMAP_LOGFILE=./imap.log akonadictl start . . . org.kde.pim.akonadiserver: Starting up the Akonadi Server... akonadi.collectionattributetable OK akonadi.collectionmimetyperelation OK akonadi.collectionpimitemrelation OK akonadi.collectiontable OK akonadi.flagtable OK akonadi.mimetypetable OK akonadi.parttable OK akonadi.parttypetable OK akonadi.pimitemflagrelation OK akonadi.pimitemtable OK akonadi.pimitemtagrelation OK akonadi.resourcetable OK akonadi.schemaversiontable OK akonadi.tagattributetable OK akonadi.tagremoteidresourcerelationtable OK akonadi.tagtable OK akonadi.tagtypetable OK org.kde.pim.akonadiserver: Running DB initializer org.kde.pim.akonadiserver: DB initializer done Connecting to deprecated signal QDBusConnectionInterface::serviceOwnerChanged(QString,QString,QString) org.kde.pim.akonadicontrol: Reference to unknown agent type "akonadi_akonotes_resource" in agentsrc, creating a fake entry. org.kde.pim.akonadicontrol: Akonadi server is now operational. org.kde.pim.akonadiserver: New notification connection (registered as Akonadi::Server::NotificationSubscriber(0x7f759c002330) ) org.kde.pim.akonadiserver: Subscriber Akonadi::Server::NotificationSubscriber(0x7f759c002330) identified as "ETMCalendarMonitor - 94860479502752" libEGL warning: egl: failed to create dri2 screen libEGL warning: egl: failed to create dri2 screen libEGL warning: egl: failed to create dri2 screen libEGL warning: egl: failed to create dri2 screen libEGL warning: egl: failed to create dri2 screen libEGL warning: egl: failed to create dri2 screen libEGL warning: egl: failed to create dri2 screen libEGL warning: egl: failed to create dri2 screen libEGL warning: egl: failed to create dri2 screen libEGL warning: egl: failed to create dri2 screen libEGL warning: egl: failed to create dri2 screen org.kde.pim.akonadiserver: New notification connection (registered as Akonadi::Server::NotificationSubscriber(0x7f759c023980) ) libEGL warning: egl: failed to create dri2 screen libEGL warning: egl: failed to create dri2 screen libEGL warning: egl: failed to create dri2 screen libEGL warning: egl: failed to create dri2 screen org.kde.pim.akonadiserver: New notification connection (registered as Akonadi::Server::NotificationSubscriber(0x7f759c02e5e0) ) libEGL warning: egl: failed to create dri2 screen libEGL warning: egl: failed to create dri2 screen libEGL warning: egl: failed to create dri2 screen libEGL warning: egl: failed to create dri2 screen org.kde.pim.akonadiserver: New notification connection (registered as Akonadi::Server::NotificationSubscriber(0x7f759c052700) ) libEGL warning: egl: failed to create dri2 screen libEGL warning: egl: failed to create dri2 screen libEGL warning: egl: failed to create dri2 screen org.kde.pim.akonadiserver: New notification connection (registered as Akonadi::Server::NotificationSubscriber(0x7f759c054470) ) org.kde.pim.akonadiserver: New notification connection (registered as Akonadi::Server::NotificationSubscriber(0x7f759c055640) ) org.kde.pim.akonadiserver: New notification connection (registered as Akonadi::Server::NotificationSubscriber(0x7f759c067960) ) org.kde.pim.akonadiserver: New notification connection (registered as Akonadi::Server::NotificationSubscriber(0x7f759c068120) ) org.kde.pim.akonadiserver: New notification connection (registered as Akonadi::Server::NotificationSubscriber(0x7f759c0821c0) ) org.kde.pim.akonadiserver: New notification connection (registered as Akonadi::Server::NotificationSubscriber(0x7f759c083250) ) org.kde.pim.akonadiserver: New notification connection (registered as Akonadi::Server::NotificationSubscriber(0x7f759c084420) ) org.kde.pim.akonadiserver: New notification connection (registered as Akonadi::Server::NotificationSubscriber(0x7f759c09e230) ) org.kde.pim.akonadiserver: Subscriber Akonadi::Server::NotificationSubscriber(0x7f759c023980) identified as "AgentBaseChangeRecorder - 94376276296000" org.kde.pim.akonadiserver: Subscriber Akonadi::Server::NotificationSubscriber(0x7f759c083250) identified as "AgentBaseChangeRecorder - 94352247351248" org.kde.pim.akonadiserver: Subscriber Akonadi::Server::NotificationSubscriber(0x7f759c02e5e0) identified as "AgentBaseChangeRecorder - 94576870304432" org.kde.pim.akonadiserver: New notification connection (registered as Akonadi::Server::NotificationSubscriber(0x7f759c0c2f50) ) org.kde.pim.akonadiserver: New notification connection (registered as Akonadi::Server::NotificationSubscriber(0x7f759c0c65a0) ) org.kde.pim.akonadiserver: Subscriber Akonadi::Server::NotificationSubscriber(0x7f759c054470) identified as "AgentBaseChangeRecorder - 94573438207152" org.kde.pim.akonadiserver: Subscriber Akonadi::Server::NotificationSubscriber(0x7f759c052700) identified as "AgentBaseChangeRecorder - 94642729100832" org.kde.pim.akonadiserver: Subscriber Akonadi::Server::NotificationSubscriber(0x7f759c0c2f50) identified as "akonadi_maildispatcher_agent - 94642729014208" org.kde.pim.akonadiserver: Subscriber Akonadi::Server::NotificationSubscriber(0x7f759c0c65a0) identified as "SpecialCollectionsMonitor - 94642750877120" org.kde.pim.akonadiserver: New notification connection (registered as Akonadi::Server::NotificationSubscriber(0x7f759c0fa7e0) ) org.kde.pim.akonadiserver: Subscriber Akonadi::Server::NotificationSubscriber(0x7f759c067960) identified as "AgentBaseChangeRecorder - 94906445874144" org.kde.pim.akonadiserver: Subscriber Akonadi::Server::NotificationSubscriber(0x7f759c0821c0) identified as "AgentBaseChangeRecorder - 94137886703456" org.kde.pim.akonadiserver: Subscriber Akonadi::Server::NotificationSubscriber(0x7f759c0fa7e0) identified as "akonadi_birthdays_resource - 94137878217616" org.kde.pim.akonadiserver: Subscriber Akonadi::Server::NotificationSubscriber(0x7f759c084420) identified as "AgentBaseChangeRecorder - 94221663219760" org.kde.pim.akonadiserver: Subscriber Akonadi::Server::NotificationSubscriber(0x7f759c068120) identified as "AgentBaseChangeRecorder - 94400324305888" org.kde.pim.akonadiserver: Subscriber Akonadi::Server::NotificationSubscriber(0x7f759c09e230) identified as "AgentBaseChangeRecorder - 94177545023680" libEGL warning: egl: failed to create dri2 screen libEGL warning: egl: failed to create dri2 screen libEGL warning: egl: failed to create dri2 screen libEGL warning: egl: failed to create dri2 screen libEGL warning: egl: failed to create dri2 screen libEGL warning: egl: failed to create dri2 screen org.kde.pim.akonadiserver: New notification connection (registered as Akonadi::Server::NotificationSubscriber(0x7f759c13bcf0) ) org.kde.pim.akonadiserver: New notification connection (registered as Akonadi::Server::NotificationSubscriber(0x7f759c13cde0) ) org.kde.pim.akonadiserver: Subscriber Akonadi::Server::NotificationSubscriber(0x7f759c055640) identified as "AgentBaseChangeRecorder - 93834786715568" libEGL warning: egl: failed to create dri2 screen libEGL warning: egl: failed to create dri2 screen org.kde.pim.akonadiserver: New notification connection (registered as Akonadi::Server::NotificationSubscriber(0x7f759c157d00) ) org.kde.pim.akonadiserver: New notification connection (registered as Akonadi::Server::NotificationSubscriber(0x7f759c16c4b0) ) org.kde.pim.akonadiserver: Subscriber "" disconnected org.kde.pim.akonadiserver: New notification connection (registered as Akonadi::Server::NotificationSubscriber(0x7f759c16fd40) ) org.kde.pim.akonadiserver: New notification connection (registered as Akonadi::Server::NotificationSubscriber(0x7f759c16fd40) ) org.kde.pim.akonadiserver: New notification connection (registered as Akonadi::Server::NotificationSubscriber(0x7f759c174150) ) org.kde.pim.akonadiserver: New notification connection (registered as Akonadi::Server::NotificationSubscriber(0x7f759c194700) ) org.kde.pim.akonadiserver: Subscriber Akonadi::Server::NotificationSubscriber(0x7f759c13cde0) identified as "AgentBaseChangeRecorder - 94920748573600" org.kde.pim.akonadiserver: Subscriber Akonadi::Server::NotificationSubscriber(0x7f759c16fd40) identified as "MailFilter Kernel ETM - 94920748612272" org.kde.pim.akonadiserver: Subscriber Akonadi::Server::NotificationSubscriber(0x7f759c174150) identified as "MailFilterCollectionMonitor - 94920748775808" org.kde.pim.akonadiserver: Subscriber Akonadi::Server::NotificationSubscriber(0x7f759c194700) identified as "MailFilterItemMonitor - 94920748792112" org.kde.pim.akonadiserver: Subscriber "" disconnected org.kde.pim.akonadiserver: New notification connection (registered as Akonadi::Server::NotificationSubscriber(0x7f759c196a20) ) org.kde.pim.akonadiserver: New notification connection (registered as Akonadi::Server::NotificationSubscriber(0x7f759c196a20) ) org.kde.pim.akonadiserver: New notification connection (registered as Akonadi::Server::NotificationSubscriber(0x7f759c1c8280) ) org.kde.pim.akonadiserver: Subscriber Akonadi::Server::NotificationSubscriber(0x7f759c13bcf0) identified as "AgentBaseChangeRecorder - 93918508965296" org.kde.pim.akonadiserver: Subscriber Akonadi::Server::NotificationSubscriber(0x7f759c196a20) identified as "Archive Mail Kernel ETM - 93918509081808" org.kde.pim.akonadiserver: Subscriber Akonadi::Server::NotificationSubscriber(0x7f759c1c8280) identified as "ArchiveMailCollectionMonitor - 93918509188976" org.kde.pim.akonadiserver: New notification connection (registered as Akonadi::Server::NotificationSubscriber(0x7f759c1ecc80) ) org.kde.pim.akonadiserver: Subscriber Akonadi::Server::NotificationSubscriber(0x7f759c1ecc80) identified as "SpecialCollectionsMonitor - 94920748856368" org.kde.pim.akonadiserver: New notification connection (registered as Akonadi::Server::NotificationSubscriber(0x7f759c201330) ) org.kde.pim.akonadiserver: Subscriber Akonadi::Server::NotificationSubscriber(0x7f759c157d00) identified as "AgentBaseChangeRecorder - 94570669622848" org.kde.pim.akonadiserver: Subscriber Akonadi::Server::NotificationSubscriber(0x7f759c201330) identified as "UnifiedMailboxChangeRecorder - 140729907701040" org.kde.pim.akonadiserver: Subscriber Akonadi::Server::NotificationSubscriber(0x7f759c16c4b0) identified as "AgentBaseChangeRecorder - 94430078260208" org.kde.pim.akonadiserver: Subscriber "" disconnected org.kde.pim.akonadiserver: New notification connection (registered as Akonadi::Server::NotificationSubscriber(0x7f759c200d20) ) org.kde.pim.akonadiserver: New notification connection (registered as Akonadi::Server::NotificationSubscriber(0x7f759c0fb7d0) ) org.kde.pim.akonadiserver: New notification connection (registered as Akonadi::Server::NotificationSubscriber(0x7f759c12efa0) ) org.kde.pim.akonadiserver: New notification connection (registered as Akonadi::Server::NotificationSubscriber(0x7f759c0c6260) ) org.kde.pim.akonadiserver: New notification connection (registered as Akonadi::Server::NotificationSubscriber(0x7f759c13cbd0) ) org.kde.pim.akonadiserver: Subscriber "" disconnected org.kde.pim.akonadiserver: New notification connection (registered as Akonadi::Server::NotificationSubscriber(0x7f759c13cbd0) ) org.kde.pim.akonadiserver: New notification connection (registered as Akonadi::Server::NotificationSubscriber(0x7f759c240760) ) org.kde.pim.akonadiserver: New notification connection (registered as Akonadi::Server::NotificationSubscriber(0x7f759c252480) ) org.kde.pim.akonadiserver: Subscriber Akonadi::Server::NotificationSubscriber(0x7f759c0fb7d0) identified as "KMail Kernel ETM - 94860958832304" org.kde.pim.akonadiserver: Subscriber Akonadi::Server::NotificationSubscriber(0x7f759c12efa0) identified as "SpecialCollectionsMonitor - 94860978098784" org.kde.pim.akonadiserver: Subscriber Akonadi::Server::NotificationSubscriber(0x7f759c13cbd0) identified as "MessageViewerMonitor - 94860952938272" org.kde.pim.akonadiserver: Subscriber Akonadi::Server::NotificationSubscriber(0x7f759c13cbd0) identified as "MessageViewerMonitor - 94860952938272" org.kde.pim.akonadiserver: Subscriber Akonadi::Server::NotificationSubscriber(0x7f759c0c6260) identified as "MessageListTagMonitor - 94860926106960" org.kde.pim.akonadiserver: Subscriber Akonadi::Server::NotificationSubscriber(0x7f759c240760) identified as "TagActionManagerMonitor - 94860961678736" org.kde.pim.akonadiserver: Subscriber Akonadi::Server::NotificationSubscriber(0x7f759c252480) identified as "FilterManagerTagMonitor - 94860980613344" [SASL-XOAUTH2] - Requesting authID! [SASL-XOAUTH2] - Requesting token! [SASL-XOAUTH2] - filling prompts! [SASL-XOAUTH2] - Requesting authID! [SASL-XOAUTH2] - Requesting token! [SASL-XOAUTH2] - Requesting authID! [SASL-XOAUTH2] - Requesting token! [SASL-XOAUTH2] - filling prompts! [SASL-XOAUTH2] - Requesting authID! [SASL-XOAUTH2] - Requesting token! org.kde.pim.akonadiserver: New notification connection (registered as Akonadi::Server::NotificationSubscriber(0x7f759c2997a0) ) org.kde.pim.akonadiserver: Subscriber Akonadi::Server::NotificationSubscriber(0x7f759c2997a0) identified as "MessageListTagCacheMonitor - 94861306607040" qt.dbus.integration: QDBusConnection: couldn't handle call to enabledAgent, no slot matched qt.dbus.integration: QDBusConnection: couldn't handle call to enabledAgent, no slot matched qt.dbus.integration: Could not find slot Akonadi__ControlAdaptor::enabledAgent qt.dbus.integration: QDBusConnection: couldn't handle call to enabledAgent, no slot matched qt.dbus.integration: QDBusConnection: couldn't handle call to enabledAgent, no slot matched qt.dbus.integration: Could not find slot Akonadi__StatusAdaptor::enabledAgent qt.dbus.integration: QDBusConnection: couldn't handle call to enabledAgent, no slot matched qt.dbus.integration: QDBusConnection: couldn't handle call to enabledAgent, no slot matched qt.dbus.integration: Could not find slot Akonadi__ControlAdaptor::enabledAgent qt.dbus.integration: QDBusConnection: couldn't handle call to enabledAgent, no slot matched qt.dbus.integration: QDBusConnection: couldn't handle call to enabledAgent, no slot matched qt.dbus.integration: Could not find slot Akonadi__StatusAdaptor::enabledAgent qt.dbus.integration: QDBusConnection: couldn't handle call to enabledAgent, no slot matched qt.dbus.integration: QDBusConnection: couldn't handle call to enabledAgent, no slot matched qt.dbus.integration: Could not find slot Akonadi__ControlAdaptor::enabledAgent qt.dbus.integration: QDBusConnection: couldn't handle call to enabledAgent, no slot matched qt.dbus.integration: QDBusConnection: couldn't handle call to enabledAgent, no slot matched qt.dbus.integration: Could not find slot Akonadi__StatusAdaptor::enabledAgent qt.dbus.integration: QDBusConnection: couldn't handle call to enabledAgent, no slot matched qt.dbus.integration: QDBusConnection: couldn't handle call to enabledAgent, no slot matched qt.dbus.integration: Could not find slot Akonadi__ControlAdaptor::enabledAgent qt.dbus.integration: QDBusConnection: couldn't handle call to enabledAgent, no slot matched qt.dbus.integration: QDBusConnection: couldn't handle call to enabledAgent, no slot matched qt.dbus.integration: Could not find slot Akonadi__StatusAdaptor::enabledAgent qt.dbus.integration: QDBusConnection: couldn't handle call to enabledAgent, no slot matched qt.dbus.integration: QDBusConnection: couldn't handle call to enabledAgent, no slot matched qt.dbus.integration: Could not find slot Akonadi__ControlAdaptor::enabledAgent qt.dbus.integration: QDBusConnection: couldn't handle call to enabledAgent, no slot matched qt.dbus.integration: QDBusConnection: couldn't handle call to enabledAgent, no slot matched qt.dbus.integration: Could not find slot Akonadi__StatusAdaptor::enabledAgent qt.dbus.integration: QDBusConnection: couldn't handle call to enabledAgent, no slot matched qt.dbus.integration: QDBusConnection: couldn't handle call to enabledAgent, no slot matched qt.dbus.integration: Could not find slot Akonadi__ResourceAdaptor::enabledAgent org.kde.pim.imapresource: Got empty message: -1 org.kde.pim.kimap: The stream parser raised an exception: Unable to read more data org.kde.pim.imapresource: Fetch job failed "Connection to server lost." the inital conncetion look valid (using removed to any folder name I don't wish to share here) : C: A000003 CAPABILITY S: * CAPABILITY IMAP4 IMAP4rev1 AUTH=PLAIN AUTH=XOAUTH2 SASL-IR UIDPLUS MOVE ID UNSELECT CLIENTACCESSRULES CLIENTNETWORKPRESENCELOCATION BACKENDAUTHENTICATE CHILDREN IDLE NAMESPACE LITERAL+ S: A000003 OK CAPABILITY completed. C: A000004 NAMESPACE S: * NAMESPACE ( ("" "/") ) ( ) ( ) S: A000004 OK NAMESPACE completed. C: A000005 ID ("name" "Kontact IMAP Resource") S: * ID ( name Microsoft.Exchange.Imap4.Imap4Server version 15.20 ) S: A000005 OK ID completed C: A000006 LIST "" * S: * LIST ( \Marked \HasNoChildren ) / removed S: * LIST ( \HasNoChildren ) / Archive S: * LIST ( \Marked \HasChildren ) / Calendar S: * LIST ( \HasNoChildren ) / Calendar/removed S: * LIST ( \HasNoChildren ) / Clutter S: * LIST ( \HasChildren ) / Contacts S: * LIST ( \HasChildren ) / Conversation History S: * LIST ( \HasNoChildren ) / cvs S: * LIST ( \Marked \HasNoChildren \Trash ) / Deleted Items S: * LIST ( \Marked \HasNoChildren \Drafts ) / Drafts S: * LIST ( \HasNoChildren ) / removed S: * LIST ( \HasNoChildren ) / removed S: * LIST ( \HasNoChildren ) / removed S: * LIST ( \Marked \HasNoChildren ) / INBOX S: * LIST ( \HasNoChildren ) / Journal S: * LIST ( \Marked \HasNoChildren \Junk ) / Junk Email S: * LIST ( \HasNoChildren ) / logs S: * LIST ( \HasNoChildren ) / Notes S: * LIST ( \HasNoChildren ) / removed S: * LIST ( \HasNoChildren ) / Outbox S: * LIST ( \HasNoChildren ) / removed S: * LIST ( \HasNoChildren ) / RSS Feeds S: * LIST ( \HasNoChildren ) / removed S: * LIST ( \HasNoChildren ) / Sent S: * LIST ( \Marked \HasNoChildren \Sent ) / Sent Items S: * LIST ( \HasNoChildren ) / Snoozed S: * LIST ( \HasChildren ) / removed S: * LIST ( \HasNoChildren ) / removed/removed S: * LIST ( \HasNoChildren ) / Suggested Contacts S: * LIST ( \HasChildren ) / Sync Issues S: * LIST ( \HasNoChildren ) / Sync Issues/Conflicts S: * LIST ( \HasNoChildren ) / Sync Issues/Local Failures S: * LIST ( \HasNoChildren ) / Sync Issues/Server Failures S: * LIST ( \HasNoChildren ) / Tasks S: * LIST ( \HasNoChildren ) / Trash S: * LIST ( \HasNoChildren ) / removed S: * LIST ( \HasNoChildren ) / removed S: * LIST ( \HasNoChildren ) / removed S: A000006 OK LIST completed. C: A000007 LSUB "" * S: * LSUB ( \Marked \HasNoChildren ) / INBOX S: * LSUB ( \Marked \HasNoChildren \Sent ) / Sent Items S: A000007 OK LSUB completed. C: A000008 SELECT "INBOX" S: * 142117 EXISTS S: * 1 RECENT S: * FLAGS ( \Seen \Answered \Flagged \Deleted \Draft $MDNSent ) S: * OK Permanent flags [ PERMANENTFLAGS ( \Seen \Answered \Flagged \Deleted \Draft $MDNSent ) ] S: * OK Is the first unseen message [ UNSEEN 140808 ] S: * OK UIDVALIDITY value [ UIDVALIDITY 14 ] S: * OK The next unique identifier value [ UIDNEXT 427450 ] S: A000008 OK SELECT completed. [ READ-WRITE ] C: A000009 EXPUNGE S: * 142117 EXISTS S: A000009 OK EXPUNGE completed. C: A000010 SELECT "INBOX" S: * 142117 EXISTS S: * 0 RECENT S: * FLAGS ( \Seen \Answered \Flagged \Deleted \Draft $MDNSent ) S: * OK Permanent flags [ PERMANENTFLAGS ( \Seen \Answered \Flagged \Deleted \Draft $MDNSent ) ] S: * OK Is the first unseen message [ UNSEEN 140808 ] S: * OK UIDVALIDITY value [ UIDVALIDITY 14 ] S: * OK The next unique identifier value [ UIDNEXT 427450 ] S: A000010 OK SELECT completed. [ READ-WRITE ] C: A000011 UID SEARCH UID 1:2000 S: * SEARCH 2 3 4 8 10 16 28 34 36 43 45 46 47 48 49 50 52 53 54 56 57 58 59 60 61 62 63 64 65 68 69 70 71 72 73 74 75 76 77 78 79 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 1984 1985 1986 1987 1988 1989 1990 1991 1992 1993 1994 1995 1996 1997 1998 1999 2000 S: A000011 OK SEARCH completed. C: A000012 UID SEARCH UID 2001:4000 S: * SEARCH 2001 2002 2003 2004 2005 2006 2007 2008 2009 2010 2011 2012 2013 2014 2015 2016 2017 2018 2019 2020 3986 3987 3988 3989 3990 3991 3992 3993 3994 3995 3996 3997 3998 3999 4000 S: A000012 OK SEARCH completed. C: A000013 UID SEARCH UID 4001:6000 S: * SEARCH 4001 4002 4003 4004 4005 4006 4007 4008 4009 4010 4011 4012 4013 4014 4015 4016 4017 4018 4019 4020 4021 4022 4023 4024 4025 4026 4027 4028 4029 4030 4031 4032 4033 4034 4035 4036 4037 4038 4039 4040 4041 4042 5985 5986 5987 5988 5989 5990 5991 5992 5993 5994 5995 5996 5997 5998 5999 6000 S: A000013 OK SEARCH completed. C: A000014 UID SEARCH UID 6001:8000 S: * SEARCH 6001 6002 6003 6004 6005 6006 6007 6008 6009 6010 6011 6012 6013 6014 6015 6016 6017 6018 6019 6020 6021 6022 6023 6024 6025 6026 6027 6028 6029 6030 6031 6032 6033 6034 6035 6036 6037 6038 6039 6040 6041 6042 7988 7989 7990 7991 7992 7993 7994 7995 7996 7997 7998 7999 8000 S: A000014 OK SEARCH completed. C: A000015 UID SEARCH UID 8001:10000 S: * SEARCH 8001 8002 8003 8004 8005 8006 8007 8008 8009 8010 8011 8012 8013 8014 8015 8016 8017 8018 8019 8020 8021 8022 8023 8024 8025 8026 8027 8028 8029 8030 8031 8032 8033 8034 8035 8036 8037 8038 8039 8040 8041 8042 8043 8044 8045 8046 8047 8048 8049 8050 8051 8052 8053 8054 8055 8056 8057 8058 8059 8060 8061 8062 8063 8064 8065 8066 8067 8068 8069 8070 8071 8072 8073 8074 8075 8076 8077 8078 8079 8080 8081 8082 8083 8084 8085 8086 8087 8088 8089 8090 8091 8092 8093 8094 8095 8096 8097 8098 8099 8100 8101 8102 8103 8105 8106 8107 8108 8109 8110 8111 8112 8113 8114 811 13971 13972 13973 13974 13975 13976 13977 13978 13979 13980 13981 13982 13983 13984 13985 13986 13987 13988 13989 13990 13991 13992 13993 13994 13995 13996 13997 13998 13999 14000 S: A000017 OK SEARCH completed. C: A000018 UID SEARCH UID 14001:16000 S: * SEARCH 14001 14002 14003 14004 14005 14006 14007 14008 14009 14010 14011 14012 14013 14014 14015 14016 14017 14018 14019 14020 14021 14022 14023 14024 14025 14026 14027 14028 14029 14030 14031 14032 14033 14034 14035 14036 14037 14038 14039 14040 14041 14042 14043 14044 14045 14046 14047 14048 14049 14050 14051 14052 14053 14054 14055 14056 14057 14058 14059 14060 14061 14062 14063 14064 14065 14066 14067 14068 14069 14070 17989 17990 17991 17992 17993 17994 17995 17996 17997 17998 17999 18000 (I had removed many of the UIDs as there is a message limit) in the imap log I can see post the disconnect it tries to search for all ids (hence the loop) : C: A000005 CAPABILITY S: * CAPABILITY IMAP4 IMAP4rev1 AUTH=PLAIN AUTH=XOAUTH2 SASL-IR UIDPLUS MOVE ID UNSELECT CLIENTACCESSRULES CLIENTNETWORKPRESENCELOCATION BACKENDAUTHENTICATE CHILDREN IDLE NAMESPAC E LITERAL+ S: A000005 OK CAPABILITY completed. C: A000006 NAMESPACE S: * NAMESPACE ( ("" "/") ) ( ) ( ) S: A000006 OK NAMESPACE completed. C: A000007 ID ("name" "Kontact IMAP Resource") S: * ID ( name Microsoft.Exchange.Imap4.Imap4Server version 15.20 ) S: A000007 OK ID completed C: A000008 SELECT "INBOX" S: * 142118 EXISTS S: * 0 RECENT S: * FLAGS ( \Seen \Answered \Flagged \Deleted \Draft $MDNSent ) S: * OK Permanent flags [ PERMANENTFLAGS ( \Seen \Answered \Flagged \Deleted \Draft $MDNSent ) ] S: * OK Is the first unseen message [ UNSEEN 140808 ] S: * OK UIDVALIDITY value [ UIDVALIDITY 14 ] S: * OK The next unique identifier value [ UIDNEXT 427455 ] S: A000008 OK SELECT completed. [ READ-WRITE ] C: A000009 EXPUNGE S: * 142118 EXISTS S: A000009 OK EXPUNGE completed. C: A000010 SELECT "INBOX" S: * 142118 EXISTS S: * 0 RECENT S: * FLAGS ( \Seen \Answered \Flagged \Deleted \Draft $MDNSent ) S: * OK Permanent flags [ PERMANENTFLAGS ( \Seen \Answered \Flagged \Deleted \Draft $MDNSent ) ] S: * OK Is the first unseen message [ UNSEEN 140808 ] S: * OK UIDVALIDITY value [ UIDVALIDITY 14 ] S: * OK The next unique identifier value [ UIDNEXT 427455 ] S: A000010 OK SELECT completed. [ READ-WRITE ] C: A000011 UID SEARCH UID 1:2000 S: * SEARCH 2 3 4 8 10 16 28 34 36 43 45 46 47 48 49 50 52 53 54 56 57 58 59 60 61 62 63 64 65 68 69 70 71 72 73 74 75 76 77 78 79 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 1 -- You are receiving this mail because: You are the assignee for the bug.