Sync disabled

63 views
Skip to first unread message

Rich Osborne

unread,
Sep 1, 2019, 10:08:45 PM9/1/19
to K-9 Mail
Any idea what setting I can change to fix "sync disabled"

Not getting emails unless I manually poll.

I have the new samsung note 10 plus

Gunter Königsmann

unread,
Sep 1, 2019, 10:14:50 PM9/1/19
to Rich Osborne, K-9 Mail
In the account settings there are settings for retrieving mails and there you can tell k9 how often to poll for mails.

Kind regards,

Gunter.
--
Diese Nachricht wurde von meinem Android-Gerät mit K-9 Mail gesendet.

Rich Osborne

unread,
Sep 1, 2019, 10:19:25 PM9/1/19
to Gunter Königsmann, K-9 Mail
I have them set for 1 min. It seems to work for a little while then goes back to sync disabled.



Rich Osborne
3303170133

Gunter Königsmann

unread,
Sep 1, 2019, 10:24:13 PM9/1/19
to Rich Osborne, K-9 Mail
Then my guess is that your cellphone has settings to optimize apps for power or a way to define which apps are allowed to use background data and one of them disallows sync.

Andy Figueroa

unread,
Sep 1, 2019, 10:49:17 PM9/1/19
to k-9-...@googlegroups.com
In Android settings, select Battery, on the menu select Battery Optimization, and put K-9 under not optimized.
--
Andy

-- 
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 k-9-mail+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/k-9-mail/2e5fa568-4387-40d2-88eb-06606f5ee581%40googlegroups.com.

Dan Christensen

unread,
Sep 2, 2019, 9:21:28 AM9/2/19
to k-9-...@googlegroups.com
For the S10 and probably other recent Samsung devices, this option is no
longer available in the Battery menu, but can be found by searching for
"optimize battery usage" in the search bar on the main settings menu.

Then you need to change "Apps not optimized" to "All" so the list
includes the "optimized" apps, i.e. those that are put to sleep
automatically. Then you find k9 in that list, and turn off
optimization.

It probably also helps to go to Settings > Connections > Data usage >
Wi-Fi data usage and allow background data for k9. Same for mobile
data usage.

Another thing to check: Settings > Apps > App Info > k9 > Battery >
turn on the 'Background activity' option if needed.

This help page for the Signal messaging app gives good instructions
for a variety of Android versions, although it doesn't show how to
get to the battery optimization screen on the S10:

https://support.signal.org/hc/en-us/articles/360007318711-Troubleshooting-Notifications

Dan

Rich Osborne

unread,
Sep 2, 2019, 9:25:09 AM9/2/19
to K-9 Mail
Thank you


Rich Osborne
3303170133

--
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 k-9-mail+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/k-9-mail/871rwy25ri.fsf%40uwo.ca.

Rich Osborne

unread,
Sep 2, 2019, 7:14:58 PM9/2/19
to K-9 Mail
Should I select poll when connecting for push. I selected poll every min. I want emails to come in asap without manually syncing 

Rich Osborne
3303170133

On Mon, Sep 2, 2019, 9:21 AM Dan Christensen <j...@uwo.ca> wrote:
--
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 k-9-mail+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/k-9-mail/871rwy25ri.fsf%40uwo.ca.

Uri Blumenthal

unread,
Sep 2, 2019, 7:26:34 PM9/2/19
to k-9-...@googlegroups.com
It could be that the server doesn't like being polled so frequently, and blocks you off.

Consider polling every 15 minutes or so, if you must poll.

Sent from my test iPhone

Rich Osborne

unread,
Sep 2, 2019, 7:29:06 PM9/2/19
to K-9 Mail
I've used K9 for years. No problem till recently. I got a replacement phone on a note 8 and problem started after I setup new phone. And still having issue with new note 10

Rich Osborne
3303170133

Andy Figueroa

unread,
Sep 2, 2019, 7:46:09 PM9/2/19
to k-9-...@googlegroups.com
Read the thread. It's the Android battery optimization setting, not K-9.
--
Andy

Greg Troxel

unread,
Sep 2, 2019, 7:52:14 PM9/2/19
to Rich Osborne, K-9 Mail
Rich Osborne <osbornemarke...@gmail.com> writes:

> Should I select poll when connecting for push. I selected poll every min. I
> want emails to come in asap without manually syncing

Polling every minute does not sound reasonable.

I think that what I'm doing is the standard approach:

1) push

2) poll when connecting for push

Once connected, new mail arrives via the usual IMAP IDLE scheme (push).
When first connecting -- or reconnecting after network loss or change --
polling finds out what happened while away.

This works 99% great, with the problems being:

some people's phones don't really do push because their OS won't let
them. This hsas to be fixed in the OS.

It seems to be possible to connect, poll, and then set push, resulting
in a tiny window where a new message arrives after poll checks the
state but before push, so that message doesn't arrive until the next
message arrival or the next poll. This is highly rare.


I don't know the details of your vendor flavor of android, but it really
sounds like you have an overly aggressive OS that thinks your mail
program shouldn't be connected all the time, and you just have to figure
out how to deal with that. Maybe you can install lineage :-)

Rich Osborne

unread,
Sep 2, 2019, 8:02:41 PM9/2/19
to Greg Troxel, K-9 Mail
So I currently have under fetching...poll frequency is set at 1 min...what should I set this to?

Under advanced I have idle time set at 12 mins.

Greg Troxel

unread,
Sep 2, 2019, 8:05:56 PM9/2/19
to Rich Osborne, K-9 Mail
I set poll frequency to never, and in advanced set poll when connecting for push.

Rich Osborne

unread,
Sep 2, 2019, 8:07:50 PM9/2/19
to Greg Troxel, K-9 Mail
How often will it send the emails? 

Rich Osborne
3303170133

Greg Troxel

unread,
Sep 2, 2019, 8:12:46 PM9/2/19
to Rich Osborne, K-9 Mail
Rich Osborne <osbornemarke...@gmail.com> writes:

> How often will it send the emails?

I am having a hard time understanding your question.

If you are talking about an email composed in k-9 that needs to be
conveyed to the first-hop MTA for eventual delivery, it does that when
you click send, and if that fails, it sits in outbox. You can look in
outbox and select "send messages" from the menu. I am not really clear
on the retry behavior if you don't manually try that.

If you are talking about incoming mail, k-9 connects to IMAP, checks the
INBOX to make sure the local copy matches the server, and then does
IDLE, and waits to be told of arriving messages. At least if the OS
doesn't break things.

If you aren't using IMAP, then you should :-) And I can't help you.
Reply all
Reply to author
Forward
0 new messages