Re: Possible IMAP extension to monitor multiple folders with IDLE mechanism

2004-06-23 Thread Miguel Telleria de Esteban
On Tue, 22 Jun 2004 15:40:28 -0700 (Pacific Daylight Time)
Mark Crispin wrote:

 What you're proposing is a concept called notifications.  This has 
 proven to be something in which people spend a lot talking about and
 very little time actually doing.  Currently, there's some talk about 
 notifications in the Lemonade working group.
 
 I wrote a prototype implementation of a notification system two years
 ago. It is quite good enough to do what you suggest, but it seems that
 the Lemonade folks want something far more featureful (read: complex).
 

Is your prototype available somewhere for downloading?

Miguel



Re: Possible IMAP extension to monitor multiple folders with IDLE mechanism

2004-06-23 Thread Miguel Telleria de Esteban
On Wed, 23 Jun 2004 08:03:23 +0200
Miguel Telleria de Esteban [EMAIL PROTECTED] wrote:

 On Tue, 22 Jun 2004 15:40:28 -0700 (Pacific Daylight Time)
 Mark Crispin wrote:
 
  What you're proposing is a concept called notifications.  This has
  
  proven to be something in which people spend a lot talking about and
  very little time actually doing.  Currently, there's some talk about
  
  notifications in the Lemonade working group.

After a quick search I have found the P-IMAP (Push-IMAP) draft:

http://db.org/drafts/internet/maes/lemonade-p-imap/00/

(probably not a canonical place to store it).

I found the document from the following place:

http://db.org/blog/archive/2004/02/12/push-imap/

  
  I wrote a prototype implementation of a notification system two
  years ago. It is quite good enough to do what you suggest, but it
  seems that the Lemonade folks want something far more featureful
  (read: complex).
  
 

Indeed P-IMAP seems more complex that the simple notificatin mechanism.

 Is your prototype available somewhere for downloading?

Still interested to take a look at it if possible.

Regards,

Miguel

-- 
| (O-O)
---oOO-(_)-OOo-
 Miguel TELLERIA DE ESTEBAN   Personal Homepage:
 Email: Miguel at mtelleria.com   http://www.mtelleria.com

 Miembro de http://www.linuca.org Tel home: +32 2 280 1614
 Membre de  http://www.bxlug.be   GSM:  +32 497 038804
---


Re: Possible IMAP extension to monitor multiple folders with IDLE mechanism

2004-06-23 Thread Rob Siemborski
On Tue, 22 Jun 2004, Mark Crispin wrote:
What you're proposing is a concept called notifications.  This has 
proven to be something in which people spend a lot talking about and 
very little time actually doing.  Currently, there's some talk about 
notifications in the Lemonade working group.
At the LEMONADE Interim meeting, there was some discussion about what sort 
of notifications LEMONADE was working on -- it sounded much more like 
server-to-server notifications than server-to-client notifications, to 
avoid conflicting with other work that may or may not be going on in the 
area...

-Rob
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Rob Siemborski | Andrew Systems Group * Research Systems Programmer
PGP:0x5CE32FCC | Cyert Hall 207 * [EMAIL PROTECTED] * 412.268.7456
-BEGIN GEEK CODE BLOCK
Version: 3.12
GCS/IT/CM/PA d- s+: a-- C$ ULS$ P+++$ L+++ E W+ N(-) o? K- w-- O-
M-- V-- PS+ PE+ Y+ PGP+ t+@ 5+++ X- R@ tv-- b+ DI+++ D++ G e++ h+ r- y?
--END GEEK CODE BLOCK-


Possible IMAP extension to monitor multiple folders with IDLE mechanism

2004-06-22 Thread Miguel Telleria de Esteban
Dear all,

I guess this question is a classic one but I am afraid I have not found
a satisfying answer neither in the IMAP FAQ nor in the UW-IMAPD
package documentation.

What I would like to know is an effective way of monitoring a large
number of folders under an IMAP tree without having to keep a TCP
connection for each folder (as the commndmt.txt file suggests).

Here is an scheme of my proposed solution:

Mail deliveries from MTA's (e.g. sendmail) or MDA's (e.g.
procmail) should be done either by an IMAP APPEND command or via a
deamon direct delivery (such as tmail or dmail).

Like this, all events, whether coming from a delivery or not, would be
known by the daemon in realtime.

The extension would make the IMAP server leave a message or send
specific unsolicited data to client connections that have selected
well-knownnotification folder and set themselves up in IDLE state.

Therefore mail clients would need to do only 2 TCP connections.  One to
select the notifying folder permanently in IDLE mode (timeouts apart of
course) and the other to go and check each modified folder.

This is the grosso-modo the solution.  I guess some synchronisation
aspects should be work further.

I imagine that such an idea must have had come up before.  If it is
the case, what were the result of previous discussions? Is there ideally
an IETF draft foreseen?.

Regards,

Miguel Telleria

-- 
| (O-O)
---oOO-(_)-OOo-
 Miguel TELLERIA DE ESTEBAN   Personal Homepage:
 Email: Miguel at mtelleria.com   http://www.mtelleria.com

 Miembro de http://www.linuca.org Tel home: +32 2 280 1614
 Membre de  http://www.bxlug.be   GSM:  +32 497 038804
---
-- 
-
 For information about this mailing list, and its archives, see: 
 http://www.washington.edu/imap/imap-list.html
-



Re: Possible IMAP extension to monitor multiple folders with IDLE mechanism

2004-06-22 Thread Mark Crispin
What you're proposing is a concept called notifications.  This has 
proven to be something in which people spend a lot talking about and very 
little time actually doing.  Currently, there's some talk about 
notifications in the Lemonade working group.

I wrote a prototype implementation of a notification system two years ago. 
It is quite good enough to do what you suggest, but it seems that the 
Lemonade folks want something far more featureful (read: complex).

-- Mark --
http://staff.washington.edu/mrc
Science does not emerge from voting, party politics, or public debate.
Si vis pacem, para bellum.