Aleksander Kamenik wrote:
> Paul J Stevens wrote:
>> No IDLE only pushes notification of new mail to the client for the
>> folder it has selected.
> 
> For clarification. Does this mean if I select the Trash folder then
> mails will only be pushed that arrive in Trash? For Inbox and others it
> will still be the interval I have configured in my mail client?

I've come to reconsider my earlier conclusion that this is unavoidable.
I've already started a new feature in trunk that will make it possible
to update clients of changes in mailboxes, even when IDLE is not activated.

Most clients use something like 'x status "mailbox" (uidnext messages
unseen recent)' to poll the status of subscribed but unopened mailboxes.

It is quite valid sending the status reponse whenever a mailbox is
changed, even without a client requesting an update.

In 2.2 this cannot be done because obtaining this data is too expensive
to do too often. But I've already started introducing triggers in the
schema for 2.3+ that will update a mtime field in the mailboxes table
whenever a message is added/deleted/changed. And that will make it
possible to obtain status changes quickly, and without a high price.

-- 
  ________________________________________________________________
  Paul Stevens                                      paul at nfg.nl
  NET FACILITIES GROUP                     GPG/PGP: 1024D/11F8CD31
  The Netherlands________________________________http://www.nfg.nl
_______________________________________________
DBmail mailing list
[email protected]
https://mailman.fastxs.nl/mailman/listinfo/dbmail

Reply via email to