When KMail/Akonadi tries to sync with a server and there is an error (like in my case an invalid certificate) it keeps on trying and stacking up dialogs (asking if I want to accept the certificate). When I'm not at the computer, it's quite possible (just happened ;-) ) that I come back to around 200 stacked dialogs. Possible solution: As long as the user didn't react (saying it's okay or not okay to continue or whatever answer is needed for a dialog), no new tries of the action mentioned should be started.
Do you have a screenshot about this dialog ? it's not easy to fixing it but we can try :)
Created attachment 107793 [details] Dialog starts stacking up seconds after starting up Kontact. Sure thing! See attachment.
Can I be of any further assistance?
This has been a constant annoyance for years. Here's another addition: Click on "Continue". This pops up: > "Would you like to accept this certificate forever without being prompted?" > > [Forever] [Current Session only] I don't want "Forever", I want to fix the issue, but maybe not today. "Forever" is also a scary button, if I click it, how do I ever undo it afterwards, when I've fixed the cert, to make sure? But what is even "current session"? Clicking it does seem to work for a while, but there's no understandable concept of "session" here. The messages come back again, during the same day, without rebooting or logging out, or closing kmail. So what does it even do? If "session" intends to refer to the current login session, then it's broken.