I have been seeing some odd behavior and I wonder if there is a bug open
or if others are seeing it.

The facts:

  phone (latest f-droid version of k-9) which normally works entirely
  fine wifi/cellular in terms of getting push mail (IMAP IDLE) from
  dovecot.  Phone is configured for push/idle and "poll when connecting
  for push".

  phone travels away from wifi (and thus there is a messy period where
  wifi stops working and the cellular connection isn't up and being
  default, but that's normal)

  phone therefore brings up cellular connection and k-9 starts to contact
  the imap server

  right around this time, I believe an email is delivered

  k-9 apparently connects and does not show the new message

  a while later, maybe 20 minutes, when the phone switches to wifi
  (e.g. arriving someplace else), the message is shown as arrived

  if a message is delivered well after the cellular connection (even
  30s), it is typically delivered ok

  it seems that if another message happens to arrive some minutes later,
  often the non-notified message appears as well.

My theory:

  phone leaves wifi

  phone connects to cellular

  phone does poll (multiple mailboxes)

  message arrives (after poll)

  phone does IDLE and hence is not notified about the just-arrived
  message

This theory is based on the push setup being after all the polls are
done.  It would seem to me that you'd have to set up IDLE first and then
poll to avoid this problem.  Of course, I could be totally off base, and
hence am asking if others have seen this first intead of spamming the
issue tracker.  But I really have noticed emails with missing
notifications, that I don't perceive as arrived for quite a while.

Greg

-- 
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