From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.user/14214 Path: news.gmane.org!not-for-mail From: nunojsilva@invalid.invalid (Nuno J. Silva) Newsgroups: gmane.emacs.gnus.user Subject: Re: Gnus and rsync Date: Thu, 04 Nov 2010 23:36:09 +0000 Organization: Datemas.de http://www.news.datemas.de Message-ID: <874obwveza.fsf@invalid.invalid> References: <87zku8cwfb.fsf@invalid.invalid> <87ocaetdmn.fsf@ucl.ac.uk> <87lj5a2bw7.fsf@invalid.invalid> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Trace: dough.gmane.org 1291957111 13442 80.91.229.12 (10 Dec 2010 04:58:31 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 10 Dec 2010 04:58:31 +0000 (UTC) To: info-gnus-english@gnu.org Original-X-From: info-gnus-english-bounces+gegu-info-gnus-english=m.gmane.org@gnu.org Fri Dec 10 05:58:27 2010 Return-path: Envelope-to: gegu-info-gnus-english@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1PQv3n-00071d-PU for gegu-info-gnus-english@m.gmane.org; Fri, 10 Dec 2010 05:58:26 +0100 Original-Received: from localhost ([127.0.0.1]:49556 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PQv1Q-0002vx-Qz for gegu-info-gnus-english@m.gmane.org; Thu, 09 Dec 2010 23:55:56 -0500 Original-Path: usenet.stanford.edu!newsserver.news.garr.it!kanaga.switch.ch!switch.ch!newsfeed00.sul.t-online.de!t-online.de!news.buerger.net!newsfeed.datemas.de!news.datemas.de!not-for-mail Original-Newsgroups: gnu.emacs.gnus Original-Lines: 56 Original-X-Trace: news.datemas.de XtSbZffe6bBISiUSZ0k+hQFnLS9ixmJxLoHXiE0CIoJWChA29KTNiPV+Ayl9kdVAuadecIVY8vgV+KobjDg/dkXfoSAYcugu1/YhjaPM28Z02p/zh0rxgcAUdnXK5ILgVJqT8lDCD9tMAc2k2KfKMrWOyRE7xtyICApooCv6kP0= Original-X-Complaints-To: abuse@datemas.de Original-NNTP-Posting-Date: Thu, 4 Nov 2010 23:32:40 +0000 (UTC) Cancel-Lock: sha1:AU7qhAMKy/nIOvegHeiF1U4gN/A= User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2 (gnu/linux) Original-Xref: usenet.stanford.edu gnu.emacs.gnus:84917 X-Mailman-Approved-At: Thu, 09 Dec 2010 20:27:57 -0500 X-BeenThere: info-gnus-english@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Announcements and discussions for GNUS, the GNU Emacs Usenet newsreader \(in English\)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: info-gnus-english-bounces+gegu-info-gnus-english=m.gmane.org@gnu.org Errors-To: info-gnus-english-bounces+gegu-info-gnus-english=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.gnus.user:14214 Archived-At: Richard Riley writes: > nunojsilva@invalid.invalid (Nuno J. Silva) writes: > >> Eric S Fraga writes: >> >>> nunojsilva@invalid.invalid (Nuno J. Silva) writes: >>> >>>> So I've now hit the issue where I have two computers on which I want to >>>> keep gnus stuff on-sync. >>>> >>>> I've tried the simple solution: rsyncing the whole bunch of files (news, >>>> mail, .gnus.el, and some other gnus files. [...] >>>> Unfortunately, this doesn't work as expected: in some mail folders the >>>> unread messages are months old,[...] >> >> What happens is that, after starting gnus, a lot of NOV files get >> changed. >> >> Removing every nov folder (*/.nnmaildir/nov, relative to nnmaildir root) >> before starting gnus forces gnus to regenerate these, what causes a >> slightly long delay but works (that is, now the unread messages are the >> same as in the original gnus setup). [...] > > I tried a plain old sync for a while with gnus and more often that not > things went wrong. It's sad, I'd really like if it were as simple as a naïve rsync. But at least now I know it's not something weird in my config. > The best way I found is to use offlineimap to sync a local dovecot > server. Since gnus uses the server flags all is dandy. Can you give me some more hints of what would that setup look like? I suppose it requires running an IMAP server (dovecot) on each machine I want to use, and running offlineimap to sync both IMAP servers (equivalent to rsync in the "plain sync" idea). I'm currently using Gnus to fetch e-mails. As offlineimap was designed exactly to sync newly created files, I suppose it will work - I just need to change the mail folders from nnmaildir to dovecot and save the new messages there. What about performance? I suppose it's pretty okay, as the IMAP server is running locally; and I expect offlineimap to take some more time. Many thanks for your reply - it is pointing me towards a *working* solution, and that's what I was looking for :-) -- Nuno J. Silva gopher://sdf-eu.org/1/users/njsg