Re: How do you synchronize your notmuch tags across multiple machines?

Subject: Re: How do you synchronize your notmuch tags across multiple machines?

Date: Sat, 12 Jan 2019 15:45:56 -0700 (MST)

To: notmuch@notmuchmail.org

Cc:

From: jpellegrini


Perhaps a bit late to reply to this, but I believe this can be useful:

I managed to sync one machine which runs postfix and receives my email, and
other three (home desktop, work desktop and notebook).

- the server runs Postfix and Dovecot
- muchsync is configured to synchronize local maildirs in the clients with
the same maildir which is used by postfix and dovecot
- the only synchronization I saw as necessary was to not let 2 different
muchsync clients, or the dovecot server, to access the maildir at the same
time (postfix never removes or edits messages, it only drops them in the
maildir). since dovecot /does/ provide a maildir locking program, this was
actually easy to do:

  the clients run this:




 in  the server, the program that muchsync runs (the $remote_program above)
is



- also, since both myuser, dovecote and postfix will write to the same
directory, I had to configure dovecot and postfix to use my uid and gid (I
actually have these in a postfixadmin setup, so they're in adatabase).

So far it works fine -- because I don't need to use IMAP all the time. I
mostly use notmuch-aware clientes in the desktops and notebook, and only use
IMAP from the phone.

Hope this is useful.
J.




--
Sent from: http://notmuch.198994.n3.nabble.com/
_______________________________________________
notmuch mailing list
notmuch@notmuchmail.org
https://notmuchmail.org/mailman/listinfo/notmuch

Thread: