smd-server(1)

smd-server1

Sends diffs and mails to smd-client

Usage

smd-server [--exclude glob] [{-v | --verbose}] [{-d | --dry-run}] [--get-mddiff-cmdline] [--stop-after-diff] [--override-db dbf] [--dump-stdin tgt] endpoint mailboxes

Overview

smd-server needs to know a name (endpoint) for the client (that must not be used by others) and a list of mailboxes (directories).

smd-server first calls mddiff(1), then prints on stdout the generated diff. It then accepts from stdin a small set of commands a client may issue to request a file (or parts of it, like the header).

smd-server is in charge of committing the db file used by mddiff(1) in case the client communicates a successful sync.

Options

-v --verbose

Increase program verbosity (printed on stderr)

-d --dry-run

Do not perform any action for real

-n --no-delete

Do not track deleted files

--exclude glob

Exclude paths matching glob

--override-db dbf

Use dbf as the db-file

--get-mddiff-cmdline

Print the command line used for mddiff and then exist

--stop-after-diff

Send the actions to the other endpoint and exit. If used in conjunction with --override-db, dbf is removed just before exiting

--dump-stdin tgt

Dump standard input to tgt and exit

Notes

smd-server is a low level utility. You should use higher level tools like smd-pull(1) and smd-push(1)

Releases

5 releases since Debian 6.0 (Squeeze); the text changed 4 times.

  1. 6.0
  2. 7
  3. 8
  4. 9
  5. 10

--dump-stdin since Debian 7 (Wheezy); --exclude since Debian 7 (Wheezy); --get-mddiff-cmdline since Debian 7 (Wheezy); --no-delete since Debian 7 (Wheezy); --override-db since Debian 7 (Wheezy); --stop-after-diff since Debian 7 (Wheezy); -n since Debian 7 (Wheezy).

Author

Enrico Tassi <[email protected]>

From syncmaildir 1.3.0-1 in Debian 10 (Buster). Parsed by carta from the page's man source.