Dekko will have POP3 support from the next update. So we will need to
provide notification support for that as well.

I'm still not convinced that a polld plugin is the correct approach for
this, it doesn't feel like it's going to scale well. I plan to add
exchange ews & jmap protocols to Dekko in the future so that would mean
creating more polld plugins that duplicates code and becomes more to
maintain.

@Pat, @popey from the next update Dekko actually has a separate
messaging server that can be run as a daemon, which Dekko communicates
with over a local socket. Currently I'm just running it as another
process on app launch. Is there some possibility that we could make this
server blessed and run in the background somehow or at set intervals and
allow it to do what we are trying to do with polld?

It already has most of the logic for notifications as it notifies any
connected clients about new mail so it would be trivial to extend that
to passing messages to the push service.

Or could we possibly turn it into a proper system service and restrict
access via apparmor?

In reality I just don't believe that the majority of email server's out
there will implement ubuntu push notifications without it becoming an
rfc standard. The majority don't even do it for android/iOS as the IDLE
and NOTIFY extensions provide the same thing for IMAP and for services
that don't support those extensions are even less likely to support our
push notifications.

Unfortunately polling has become so engrained in the email space that I
don't think we can force that to change any time soon.

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to account-plugins in Ubuntu.
https://bugs.launchpad.net/bugs/1421923

Title:
  No notifications for new mails

Status in Online Accounts: Account plugins:
  New
Status in Canonical System Image:
  In Progress
Status in Dekko:
  In Progress
Status in account-plugins package in Ubuntu:
  In Progress
Status in account-polld package in Ubuntu:
  In Progress

Bug description:
  Hi!

  In the BQ E4.5 Ubuntu Edition, I'm not getting notificactions for new
  mails.

  Testing (by example)
  1. Kill Dekko.
  2. Send you an email.
  3. Open Dekko.
  4. Change quickly to another app before Dekko starts.
  5. Bug: No notification
  6. Go to Dekko: You'll see your new mail.

  FYI as improvement, for me, in Dekko is not clear if Dekko checks the
  mail after X minutes or is a push notification.

  Thanks in advance!

To manage notifications about this bug go to:
https://bugs.launchpad.net/account-plugins/+bug/1421923/+subscriptions

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to     : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to