EnglishFrenchSpanish

OnWorks favicon

mswatch - Online in the Cloud

Run mswatch in OnWorks free hosting provider over Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

This is the command mswatch that can be run in the OnWorks free hosting provider using one of our multiple free online workstations such as Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

PROGRAM:

NAME


mswatch - watch mailstores for changes and initiate mailbox syncs

SYNOPSIS


mswatch [options ...]

DESCRIPTION


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.

OPTIONS


-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.

SIGNALS


SIGUSR1
Print names of mailboxes with pending syncs.

SIGINT and SIGTERM
Gracefully exit.

CONFIGURATION


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
Minimum time after first queued mailbox change to synchronization.

inter_delay time
Default: 60 seconds
Minimum time between two synchronizations or failed attempts (this is the default
inter_delay setting for mailboxes).

inter_delay time mailboxes ...
Default: inter_delay
Minimum time between two synchronizations or failed attempts for the list
mailboxes.

max_delay time
Default: 600 seconds
Maximum waiting time between failed attempts.

poll_period time
Default: 86400 seconds (1 day)
Period at which to poll all mailboxes. This option is for use with sync programs
that can error without returning a failed status---it ensures that the mailboxes
are at least this fresh. To disable polling, set the period to 0.

ignore mailboxes ...
Optional
Do not initiate explicit synchronizations for these mailboxes. mswatch will ignore
changes made to these mailboxes while it is running, but will still synchronize
them at start when all mailboxes are synchronized.

sync program arguments ...
Required
Program and arguments to run to synchronize mail stores. Mailbox names are appended
to arguments ... when program is run.

mailbox_prefix prefix separator
Optional
Prefix these strings to mailbox names passed to sync; useful when using mbsync for
sync, as the mbsync channel. If present, prefix is always prefixed to mailbox
names. When synchronizing a particular mailbox, separator is inserted between
prefix and the mailbox name (separator is not inserted when synchronizing all
mailboxes).
Examples:
Given prefix = "mydomain" and separator = ":" and that the mailbox "INBOX" is to be
synchronized, "mydomain:INBOX" is passed to sync.
Given prefix = "mydomain" and separator = ":" and that all mailboxes are to be
synchronized, "mydomain" is passed to sync.

store name { watch program arguments ... }
Required (two stores)
A mailstore to watch. Call it name when reporting status information to the user.
watch sets the program and arguments to run the mailstore watcher.
watch_maildirs(1) is a Maildir mailstore watcher.

Use mswatch online using onworks.net services


Free Servers & Workstations

Download Windows & Linux apps

  • 1
    PostInstallerF
    PostInstallerF
    PostInstallerF will install all the
    software that Fedora Linux and others
    doesn't include by default, after
    running Fedora for the first time. Its
    easy for...
    Download PostInstallerF
  • 2
    strace
    strace
    The strace project has been moved to
    https://strace.io. strace is a
    diagnostic, debugging and instructional
    userspace tracer for Linux. It is used
    to monitor a...
    Download strace
  • 3
    gMKVExtractGUI
    gMKVExtractGUI
    A GUI for mkvextract utility (part of
    MKVToolNix) which incorporates most (if
    not all) functionality of mkvextract and
    mkvinfo utilities. Written in C#NET 4.0,...
    Download gMKVExtractGUI
  • 4
    JasperReports Library
    JasperReports Library
    JasperReports Library is the
    world's most popular open source
    business intelligence and reporting
    engine. It is entirely written in Java
    and it is able to ...
    Download JasperReports Library
  • 5
    Frappe Books
    Frappe Books
    Frappe Books is a free and open source
    desktop book-keeping software that's
    simple and well-designed to be used by
    small businesses and freelancers. It'...
    Download Frappe Books
  • 6
    Numerical Python
    Numerical Python
    NEWS: NumPy 1.11.2 is the last release
    that will be made on sourceforge. Wheels
    for Windows, Mac, and Linux as well as
    archived source distributions can be fou...
    Download Numerical Python
  • More »

Linux commands

Ad