> Date: Thursday, January 28, 2016 06:02:54 -0800
> From: Benoit-Pierre DEMAINE <[email protected]>
>
> I have K9 on my phone. Some accounts are sync over GSM-data, and
> all of  them when Wifi is available.
> 
> On desktop, Mozilla Thunderbird.
> 
> Using one (and only one) Gmail account (Google/apps), and always
> via Imap.
> 
> Whatever the order in which I come to this point ... when I start
> at the  same time Thunderbird, and allow Fifi on the phone, TB
> complains it can not  reach my email account, server reports too
> many connexions.
> 
> I have one other Email notification app that may happen to
> complain,  randomly, most often when phone as wifi one; usually
> not otherwise  (Gkrellm). 
> 
> Phone will switch Wifi to sleep mode after 15mn screen off. Wifi
> will come  back as soon as I switch phone screen on. If phone was
> iddle for 4h, and TB  is open, at the time I use the phone, TB
> will complain (within 20 or 30s).
> 
> TB handles several user accounts on Gmail; issue warning is only
> and always  only about the user account shared with the phone (my
> main Android  account). Other accounts always work fine.
> 
> I do not know if TB and K9 are using sync or push. 
> 
> I know Gmail team has implemented an account connexion limitation
> around  november 2014; before 2014 there was no limite, or it was
> at least 100. In  fall 2014 they have put the limite to be 10
> connexions per account; after a  few months, they raised the value
> to 15. Or maybe it was 2013, I forgot.
> 
> But Today, I am pissed of this.
> 
> After checking various network monitoring tools, I have found that
> the  cause of problem on phone side is K9-mail app. I first
> thought it was the  Android system during global account sync, but
> it seems like if I disable  K9 (freese app using TX-Toolbox, or
> any other "app disabler") the problem  stops, or becomes less
> frequent.

This mostly sounds like a server limitation issue.

By default, if you are logged in, an IMAP client will hold one login
connection per account and one connection for each mailbox/folder
that is "open". With clients in a non-mobile environment, that means
that if you have one account and have 50 mailboxes open, you'll have
51 connections open -- in just one client. If you connect and open
mailboxes with a second client you'll add to that count. 

K-9 may hold connections differently with on wifi vs. cell data, but
with wifi it holds a connection open while you have it open (your
push/sync settings may effect this). I'm not in a position to easily
check what happens in a cell data environment. The server may close
a non-active connection after a period of time (e.g., after 30min if
the account push is at say 4 hour intervals), but that's way beyond
the client's control.

If you close/unload K-9 (e.g., with a "swipe close") I believe it
closes all connections.

So, I believe you are simply running into an issue with the stateful
way that IMAP (*Interactive*MailAccessProtocol) opens and holds
connections, and that gmail is now seemingly constraining that
count. I.e., this isn't a TB or K-9 (or any other IMAP client) issue.

[please only reply to the list - do not include my direct address in
your reply.]



-- 
-- 
You received this message because you are subscribed to the K-9 Mail Users List.
To post to this group, send email to [email protected]
To unsubscribe, email [email protected]
To report an issue with K-9 Mail, visit 
http://code.google.com/p/k9mail/issues/list
For more options, visit this group at http://groups.google.com/group/k-9-mail

--- 
You received this message because you are subscribed to the Google Groups "K-9 
Mail" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to