thunderbird / thunderbird-android

Thunderbird for Android – Open Source Email App for Android (fka K-9 Mail)
https://thunderbird.net/
Apache License 2.0
10.03k stars 2.47k forks source link

K9 should warn of too many connections will be established #3757

Open Flexmaen opened 5 years ago

Flexmaen commented 5 years ago

K9 is opening many connections to your mailserver, on some conditions, see: https://github.com/k9mail/k-9/issues/1694

This will cause some mail servers to refuse connction because of _IMAP - Maximum number of connections from user+IP exceeded (mail_max_useripconnections=10)

However K9 users will be left without any clue, since K9 itself just will leave you clueless with some "unable to connect" message. I had to use an other mail client to figure out the real reason.

Issue #1694 was closed because of correct behaviour. However, I'd suggest a message to warn the user that his setting will cause many connections.

Additionally it might also help to get a better overview on existing connections as well as more accurate error messages.

fufu65 commented 5 years ago

Hi, I have the same behavior. My account has 13 folders, I set up my mail server with mail_max_userip_connections=50 but the problem persists. This is a new problem for me and a colleague of mine since we changed our smartphones in December. and could possibly be linked to the Android version (old versions 4 & 5, new version 8.1). It appears that the connections are not closed properly; could it be related to the new energy saving policies of Android 8? Thanks