Bug 325516 - Flooded by "Login failed" popups on imap access not allowed
Summary: Flooded by "Login failed" popups on imap access not allowed
Status: RESOLVED DUPLICATE of bug 319171
Alias: None
Product: kmail2
Classification: Applications
Component: general (show other bugs)
Version: 4.10.5
Platform: Kubuntu Linux
: NOR critical
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-10-01 18:57 UTC by carlo.tognetti
Modified: 2013-10-01 20:39 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description carlo.tognetti 2013-10-01 18:57:35 UTC
My ISP, let's say <ISPa>,  gives me an e-mail <account@ISPa>
I can access this account via IMAP only when connected via an ADSL access provided by <ISPa>.
When I connect to internet via other ISP, the imap service to <account@ISPa> is non available.
This is by contract with <ISPa>.
I've set up kmail to use IMAP to get mail sent to <account@ISPa>.

Whenever I connect to internet via other ISP provider, I'm flooded by multiple pop-ups/second saying:
  "Il server dell'account «Libero.it Carlo Imap» ha rifiutato il nome utente e la password forniti. Vuoi modificare le impostazioni, riprovare nuovamente ad accedere, o non fare nulla?
    Login failed, server replied: A000002 NO IMAP4 access not allowed "
At this point I can just disconnect the PC from the network to have kmail to stop generating popus in a few seconds.

To be connected to intenet without being flooded by popus and without stopping Akonady, I just have to setup kontact to work off-line and then I can reconnect the PC to the network. 
I already tried to setup the IMAP account to not start checking e-mails at startup, and also disabled the option to auto check e-mails.
But:
1-every time I access the configuration for this IMAP account, if I'm connected I start to be flooded by the aforementioned popus
2- the settings have no effect, even if I restart Akonadi and kontact

So: when connected via other ISPs, I can't use kontact (kmail) to check any of my account's emails because kmail has to be setup to work offline if I don't want to be flooded by popus.

The work-around is to change the TCP port of the IMAP server before connecting from other ISPs, and then change it back when I connect from <ISPa>.

Reproducible: Always

Steps to Reproduce:
1. Connect to internet form ISP different from <ISPa>
2. start-up kontact (kmail) or simply akonadi 
Actual Results:  
Flooded by the aforementioned pop-us.

Expected Results:  
Not open further pop-ups if one is still open.
The pop-up should give the option to suspend checking <account@IPSa> so no further popus are shown.

If the user doesn't realize that he can stop pop-us by physically disconnecting the network connection, the computer becomes unusable due to the amount of resources taken by the popups and the user need to reset the system, loosing unsaved data.
Comment 1 Daniel Vrátil 2013-10-01 20:39:37 UTC

*** This bug has been marked as a duplicate of bug 319171 ***