.\" Text automatically generated by txt2man .TH smd-server 1 "18 November 2015" "" "Sync Mail Dir (smd) documentation" .SH NAME \fBsmd-server \fP- sends diffs and mails to smd-client \fB .SH SYNOPSIS .nf .fam C \fBsmd-server\fP [\fB--exclude\fP \fIglob\fP] [\fB-v\fP|\fB--verbose\fP] [\fB-d\fP|\fB--dry-run\fP] [\fB--get-mddiff-cmdline\fP] [\fB--stop-after-diff\fP] [\fB--override-db\fP \fIdbf\fP] [\fB--dump-stdin\fP \fItgt\fP] \fIendpoint\fP \fImailboxes\fP .fam T .fi .fam T .fi .SH DESCRIPTION \fBsmd-server\fP needs to know a name (\fIendpoint\fP) for the client (that must not be used by others) and a list of \fImailboxes\fP (directories). .PP \fBsmd-server\fP first calls \fBmddiff\fP(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). .PP \fBsmd-server\fP is in charge of committing the db file used by \fBmddiff\fP(1) in case the client communicates a successful sync. .SH OPTIONS .TP .B \fB-v\fP \fB--verbose\fP Increase program verbosity (printed on stderr) .TP .B \fB-d\fP \fB--dry-run\fP Do not perform any action for real .TP .B \fB-n\fP \fB--no-delete\fP Do not track deleted files .TP .B \fB--exclude\fP \fIglob\fP Exclude paths matching \fIglob\fP .TP .B \fB--override-db\fP \fIdbf\fP Use \fIdbf\fP as the db-file .TP .B \fB--get-mddiff-cmdline\fP Print the command line used for mddiff and then exist .TP .B \fB--stop-after-diff\fP Send the actions to the other \fIendpoint\fP and exit. If used in conjunction with \fB--override-db\fP, \fIdbf\fP is removed just before exiting .TP .B \fB--dump-stdin\fP \fItgt\fP Dump standard input to \fItgt\fP and exit .SH NOTES \fBsmd-server\fP is a low level utility. You should use higher level tools like \fBsmd-pull\fP(1) and \fBsmd-push\fP(1) .SH SEE ALSO \fBmddiff\fP(1), \fBsmd-client\fP(1), \fBsmd-pull\fP(1), \fBsmd-push\fP(1) .SH AUTHOR Enrico Tassi