| 1 |
|
| 2 |
# Intro |
| 3 |
|
| 4 |
Muchsync is a mail synchronizer for notmuch. The project homepage is |
| 5 |
[www.muchsync.org](http://www.muchsync.org/). |
| 6 |
|
| 7 |
# To get latest the muchsync software, run: |
| 8 |
|
| 9 |
git clone http://www.muchsync.org/muchsync.git |
| 10 |
|
| 11 |
# To build it after a git checkout, run the following: |
| 12 |
|
| 13 |
./autogen.sh |
| 14 |
./configure |
| 15 |
make |
| 16 |
|
| 17 |
[Note: you need pandoc to build the man page, otherwise `autogen.sh` |
| 18 |
will fetch it from the web.] |
| 19 |
|
| 20 |
# Using |
| 21 |
|
| 22 |
Muchsync assumes that it's on your path on the server, but you can |
| 23 |
specify the path on the command line with -r. If you are tracking a |
| 24 |
development version, you can put a symlink to the executable in your |
| 25 |
home directory on all machines, and then run: |
| 26 |
|
| 27 |
~/muchsync -r ./muchsync server |
| 28 |
|
| 29 |
Of course, initial clones are kind of slow, so you probably want to |
| 30 |
see what's happening. You can add -vv before server to see what is |
| 31 |
happening locally, and -vv after to see what is happening on the |
| 32 |
server. For example: |
| 33 |
|
| 34 |
~/muchsync -r ./muchsync -vv server -vv |
| 35 |
|
| 36 |
# Getting started |
| 37 |
|
| 38 |
On the server, initialize the repository by running: |
| 39 |
|
| 40 |
muchsync -vv |
| 41 |
|
| 42 |
On the client, to create a new replica from scratch, run one of: |
| 43 |
|
| 44 |
muchsync --init=/path/to/new/inbox -vv server -vv |
| 45 |
|
| 46 |
muchsync -r ./muchsync --init=/path/to/new/inbox -vv server -vv |