watch_mdbox

A script to check for changes in dovecot (m)dbox folders.
git clone git://r-36.net/watch_mdbox
Log | Files | Refs | README | LICENSE

README.md (734B)


      1 # watch_mdbox
      2 
      3 This script is intended to be used in conjunction with mswatch [0]. You
      4 can see an example ~/.mswatchrc in home/mswatchrc.
      5 
      6 You should change the paths according to your your setup.
      7 
      8 [0] http://mswatch.sourceforge.net/
      9 
     10 ## What does it do?
     11 
     12 This script checks for changes in a dbox[1], which is a mailbox format
     13 introduced by the dovecot IMAP server[2] for handling mail storage more
     14 efficiently.
     15 
     16 When new mail is added to the dbox, watch-mdbox receives an event through
     17 inotify, parses the path and prints out the notification mswatch needs
     18 for starting the synchronisation specifically on this mailbox.
     19 
     20 [1] http://wiki2.dovecot.org/MailboxFormat/dbox 
     21 [2] http://www.dovecot.org
     22 
     23 ## Obligatory cheering
     24 
     25 Have fun!
     26