mswatch
mswatch
Posted Oct 7, 2009 0:00 UTC (Wed) by ChrisFrost (guest, #61105)In reply to: offlineimap by k8to
Parent article: Stresstesting IMAP clients (Hackvalue)
minute polling period or sometimes wish the polling used less bandwidth, you
might be interested in http://mswatch.sourceforge.net/. mswatch invokes mail
synchronization programs when it detects changes to the local or remote
mailbox. (Bias note: I wrote mswatch.)
      Posted Oct 7, 2009 0:13 UTC (Wed)
                               by dlang (guest, #313)
                              [Link] (4 responses)
       
2. if you avoid polling, how do you find out that the remote mailbox has changed? 
     
    
      Posted Oct 7, 2009 0:26 UTC (Wed)
                               by ChrisFrost (guest, #61105)
                              [Link] (3 responses)
       
2. mswatch asks the kernel to inform mswatch when files change, using the  
     
    
      Posted Oct 9, 2009 13:10 UTC (Fri)
                               by job (guest, #670)
                              [Link] (2 responses)
       
     
    
      Posted Oct 9, 2009 14:48 UTC (Fri)
                               by ChrisFrost (guest, #61105)
                              [Link] (1 responses)
       
"The author of IMAP, Mark Crispin, does not see this capability [multi- 
FYI, the Lemonade working group is working on such a protocol. But this is  
     
    
      Posted Oct 10, 2009 2:35 UTC (Sat)
                               by foom (subscriber, #14868)
                              [Link] 
       
Be that as it may, 
 
     
    mswatch
      
mswatch
      
and server would need that many open sockets (for the IDLE command). 
Additionally, the server may have multiple clients, each doing this. Also, I 
don't happen to know of any clients that maintain an IMAP connection for 
each folder (Mail.app, Thunderbird, mutt, and mbsync, at least). mswatch 
improves on the IMAP protocol by using one socket, and only one inotify file 
descriptor, for an arbitrary number of folders.
inotify or dnotify interface.
mswatch
      
mswatch
      
its "Why mswatch" section :).
mailbox IDLE] as belonging in IMAP. He states that multiple mailbox 
notification belongs in a separate protocol designed for event notification 
[http://www.webservertalk.com/message1459531-1.html#post40... ]."
still in the works. http://www.ietf.org/html.charters/lemonade-charter.html
Hopefully one day mswatch will only poorly duplicate commonly available 
functionality. But until then, mswatch is already available.
mswatch
      
> mailbox IDLE] as belonging in IMAP
http://tools.ietf.org/html/draft-ietf-lemonade-imap-notif...
 
           