Skip to content
This repository has been archived by the owner on Jul 8, 2021. It is now read-only.

Watches for change in your maildir, and runs mbsync when change are found.

Notifications You must be signed in to change notification settings

tim-smart/node-mbsync-watcher

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

node-mbsync-watcher

Watch a mbsync Maildir for changes to sync, and sync main mailboxes every minute.

Installing

Install with npm:

npm install -g mbsync-watcher

Usage

On the command line:

$ mbsync-watcher channel ~/path/to/maildir INBOX,importantlabel,anotherone \
> "[Google Mail]/All Mail,[Google Mail]/Important"

The third and fourth options are respectively:

  • The mailboxes / labels / folders you want to keep as fresh as possible. Generally best to set this to your inbox and all labels / folders that also end up in the inbox. These are updated every minute or on change.

  • A blacklist of labels / mailboxes to not listen for filesystem changes. These will get updated every 5 minutes instead.

About

Watches for change in your maildir, and runs mbsync when change are found.

Resources

Stars

Watchers

Forks

Packages

No packages published