[Akonadi] [Bug 318850] New: Akonadi disables IMAP resources when network fails and never tries again

korgens at yandex.com korgens at yandex.com
Thu Apr 25 14:23:07 BST 2013


https://bugs.kde.org/show_bug.cgi?id=318850

            Bug ID: 318850
           Summary: Akonadi disables IMAP resources when network fails and
                    never tries again
    Classification: Unclassified
           Product: Akonadi
           Version: 1.9.1
          Platform: Archlinux Packages
                OS: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: IMAP resource
          Assignee: ervin at kde.org
          Reporter: korgens at yandex.com
                CC: kdepim-bugs at kde.org, vkrause at kde.org

I have a few IMAP resources configured in Akonadi. They are scheduled for 5
minutes polling of the IMAP server. But every time I leave the computer on for
a few hours or days, half of the IMAP resources become marked as "unable to
start" by Akonadi. Usually they are from not so good server that sometimes
momentarily refuses connections because of Internet routing problems.

It seems that Akonadi never tries again when an IMAP resource is marked as
"unable to start". In my opinion, it should always try again (every X minutes),
unless there was some option telling it otherwise.

The result is that Kmail is almost always showing red (offline) folders for
half of my IMAP accounts and I get no new emails.

I'm running Archlinux:
3.8.4-1-ARCH #1 SMP PREEMPT Wed Mar 20 22:10:25 CET 2013 x86_64 GNU/Linux

Akonadi version:  1.9.1-3,  x86_64




Reproducible: Always

Steps to Reproduce:
1. Create IMAP resources that point to a remote IMAP server.
2. Let Akonadi poll for new emails every 5 minutes
3. Let Akonadi fetch some emails from the IMAP resources
4. Shutdown the IMAP server or make it inaccessible by the Internet for a while
5. Eventually Akonadi will mark some (or all) of the resources "unable to
start"
6. Restore the remote IMAP servers
7. Akonadi never tries them again
Actual Results:  
Akonadi marks the IMAP resources "unable to start" and never tries to connect
to them again

Expected Results:  
Akonadi would mark the resources "unavailable", but keep trying to connect to
them at every configured time interval. When the resources become visible
again, Akonadi will connect to them, as it does the first time, on
initializaion.

The only way to restore service is to:
1. Close Kmail and everything else that might be using Akonadi
2. Launch Akonadi system tray applet
3. Stop Akonadi service
4. Wait for it to happen
5. Start Akonadi Service
6. Wait for it to happen
7. Launch Kmail and access all IMAP resources normally

-- 
You are receiving this mail because:
You are on the CC list for the bug.



More information about the Kdepim-bugs mailing list