From: Eric Abrahamsen <eric@ericabrahamsen.net>
To: ding@gnus.org
Subject: Re: isync plus dovecot?
Date: Tue, 21 May 2013 09:35:17 +0800 [thread overview]
Message-ID: <87mwrpdsiy.fsf@ericabrahamsen.net> (raw)
In-Reply-To: <87vc6dy2x8.fsf@mid.raines.me>
Drew Raines <aaraines@gmail.com> writes:
> Eric Abrahamsen wrote:
>
>> I'm finally trying to ditch nnml for mail reading, and move to
>> imap. Offlineimap plus dovecot seems to be a popular solution (I
>> am offline a lot), but I also saw a lot of complaints about
>> offlineimap, and the suggestion of isync/mbsync as a replacement.
>>
>> Has anyone done that? I realize this isn't quite a gnus question,
>> but I'm having a bit of trouble wrapping my head around this, and
>> google isn't helping any.
>
> I'm using mbsync. I finally switched from offlineimap a year ago
> after it got into a state that I couldn't fix.
>
> My setup is:
>
> Gmail <-> mbsync <-> dovecot <-> nnimap
>
> dovecot essentially serves as a cache, with mbsync running every few
> minutes in a separate process. Even though g-g-get-new-news is
> pretty speedy (5-30s), I still use a dedicated Emacs for Gnus. It
> still talks over the Internet to Gmane. I used to use gnus-agent
> with nnimap and it worked fine. Now I only use it with nntp.
>
> I haven't had any major issues with mbsync. A couple of times it has
> gotten wedged from an unreliable network connection but I was able to
> recover by deleting its local state. It hasn't caused any headaches
> for me. This is isync 1.0.4 on Debian Wheezy.
>
> Happy to share more details if it would help!
Thanks for this! So your .mbsyncrc has something like this, right?
MaildirStore account-local
Path = ~/Maildir/account/
Inbox ~/Maildir/account/Inbox
and then in your gnus select methods:
(nnimap-shell-program "/usr/lib/dovecot/imap -o mail_location=maildir:$HOME/Maildir/")
Is that how you do it? The offlineimap examples I've seen have
offlineimap delivering to dovecot, and gnus reading from dovecot. The
above would have mbsync delivering to a maildir directly, and then
dovecot reading from that. I'm not familiar enough with how this works
to know if that's right. And three days of mail syncing seems like a
long time just to test a setup that's wrong to begin with!
The other question I've got regards multiple accounts, either
offlineimap or mbsync. Multi-account examples I've seen have offlineimap
using a separate local repository for each account, so you end up with:
$HOME/Maildir/account1/{cur,new,tmp,etc,etc}
$HOME/Maildir/account2/{cur,new,tmp,etc,etc}
$HOME/Maildir/account3/{cur,new,tmp,etc,etc}
But in my gnus configuration, I only seem to be able to pass one value
to the "-o mail_location" invocation, and it doesn't recurse into
subdirectories. Can I dump multiple accounts into a single local
repository? Or somehow tell dovecot to check multiple directories?
Almost done, I swear...
Thanks!
Eric
next prev parent reply other threads:[~2013-05-21 1:35 UTC|newest]
Thread overview: 24+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-05-16 6:30 Eric Abrahamsen
2013-05-16 7:47 ` Rainer M. Krug
2013-05-16 11:28 ` Eric Abrahamsen
2013-05-17 9:06 ` Rainer M. Krug
2013-06-16 18:52 ` Dave Abrahams
2013-05-16 13:07 ` Dan Christensen
2013-05-17 4:02 ` Eric Abrahamsen
2013-05-17 7:50 ` Eric S Fraga
2013-05-17 8:35 ` Dan Christensen
2013-05-17 9:13 ` Rainer M. Krug
2013-05-17 9:17 ` Rainer M. Krug
2013-05-17 20:52 ` Dan Christensen
2013-05-18 1:48 ` Eric Abrahamsen
2013-05-18 21:06 ` Erik Colson
2013-05-16 16:02 ` Eric S Fraga
2013-05-20 17:30 ` Drew Raines
2013-05-21 1:35 ` Eric Abrahamsen [this message]
2013-05-22 18:24 ` Drew Raines
2013-05-24 4:36 ` Eric Abrahamsen
2013-06-16 18:49 ` Dave Abrahams
2013-06-17 7:18 ` Eric Abrahamsen
2013-06-18 3:56 ` Dave Abrahams
2013-06-24 14:06 ` Eric Abrahamsen
2013-06-24 16:39 ` Eric Abrahamsen
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=87mwrpdsiy.fsf@ericabrahamsen.net \
--to=eric@ericabrahamsen.net \
--cc=ding@gnus.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).