|
mswatch − watch mailstores for changes and initiate mailbox syncs |
|
mswatch [options ...] |
|
mswatch is a command line program that makes keeping two mailboxes synchronized faster and more efficient than periodically synchronizing the two mailboxes. mswatch watches mailboxes to know when to initiate mailbox syncs. Using mswatch, your mail synchronization program can be called on demand instead of through polling, resulting in prompter mail delivery and lower bandwidth usage and server load. |
|
−c file, −−config=file |
|
Read configuration from file. By default, the configuration is read from ~/.mswatchrc. |
|
−d, −−dry |
|
Watch mailstores for changes but do not initiate syncs. |
|
−q, −−quiet |
|
Do not print success status messages. |
|
−V, −−version |
|
Display version information. |
|
−?, −−help |
|
Display a summary of command line options. |
|
SIGUSR1 |
|
Print names of mailboxes with pending syncs. |
|
SIGINT and SIGTERM |
|
Gracefully exit. |
|
The configuration file is mandatory; mswatch will not run without it. Text starting with a hash mark (#) through the end of the current line are comments and are ignored. Spaces and tabs delimit. |
|
base_delay time |
|
Default: 10 seconds |
|
inter_delay time |
|
Default: 60 seconds |
|
inter_delay time mailboxes ... |
|
Default: inter_delay |
|
max_delay time |
|
Default: 600 seconds |
|
sync program arguments ... |
|
Required |
|
mailbox_prefix prefix separator |
|
Optional |
|
store name { watch program arguments ... } |
|
Required (two stores) |
|
~/.mswatchrc |
|
Default configuration file |
|
inputkill(1), watch_maildirs(1), mbsync(1), mswatch website: http://mswatch.sf.net/ |
|
Written by Chris Frost <chris@frostnet.net>. |