[Akonadi] [Bug 325524] New: Mail dispatcher stuck in loop when it can't send mail due to SSL problem

Frank Steinmetzger Warp_7 at gmx.de
Tue Oct 1 23:57:30 BST 2013


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

            Bug ID: 325524
           Summary: Mail dispatcher stuck in loop when it can't send mail
                    due to SSL problem
    Classification: Unclassified
           Product: Akonadi
           Version: 4.11
          Platform: Gentoo Packages
                OS: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: Mail Dispatcher Agent
          Assignee: kdepim-bugs at kde.org
          Reporter: Warp_7 at gmx.de
                CC: vkrause at kde.org

At the moment I can't send mails via one of my mail providers (gmx). I first
noticed it in mutt, so I tried it with KMail. Upon the first attempt, it shows
me a message saying that the SSL certificate does not match the host with the
three choices Cancel, View details and Continue.
If I then choose to view the certificate details, a KDE SSL certificate window
opens. Once I closed that again, the mail dispatcher agent gets stuck in some
kind of loop. It hogs one CPU core and starts eating ever more RAM (3–4 MB per
second on this 3 GHz Pentium 4).

I looked at it with Akonadi Console and it said “Sending <email subject> (0%)”.
I am able to abort the sending process via the agent’s context menu. Then the
CPU load goes back to idle, but the used up memory is not reclaimed. For a
while both KMail and the Console becomes unresponsive, but eventually come
back.
Subsequent attempts of sending don’t give me the SSL warning, but the agent
gets stuck again.

This lockup loop does not occur if I simply abort the sending instead of
viewing the SSL details. I don’t really want to try what happens if I choose
“Continue”, in case someone really hacked the provider. :o)

I can give you more info if you tell me what you need.

Reproducible: Always

Steps to Reproduce:
Send a mail over an SMTP that is secured with SSL/TLS. SSL authentication fails
(host does not match).
Actual Results:  
Mail dispatcher agent is stuck in a CPU and memory loop.

Expected Results:  
The dispatcher should handle such an event more gracefully.

BTW: When I close the SSL viewer, the dialogue which asked me on how to
process is gone. However, it should still be there, because I haven’t answered
yet whether to proceed or abort.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the Kdepim-bugs mailing list