From: nunojsilva@invalid.invalid (Nuno J. Silva)
To: info-gnus-english@gnu.org
Subject: Re: Gnus and rsync
Date: Thu, 04 Nov 2010 23:36:09 +0000 [thread overview]
Message-ID: <874obwveza.fsf@invalid.invalid> (raw)
In-Reply-To: <iau28v$p56$1@quimby.gnus.org>
Richard Riley <rileyrg@googlemail.com> writes:
> nunojsilva@invalid.invalid (Nuno J. Silva) writes:
>
>> Eric S Fraga <ucecesf@ucl.ac.uk> 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
next prev parent reply other threads:[~2010-11-04 23:36 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-10-20 22:48 Nuno J. Silva
[not found] ` <87ocaetdmn.fsf@ucl.ac.uk>
[not found] ` <87lj5a2bw7.fsf@invalid.invalid>
2010-11-04 10:35 ` Richard Riley
2010-11-04 23:36 ` Nuno J. Silva [this message]
2010-11-05 19:06 ` Eric S Fraga
2010-11-13 18:27 ` Nuno J. Silva
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=874obwveza.fsf@invalid.invalid \
--to=nunojsilva@invalid.invalid \
--cc=info-gnus-english@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).