From: Dave Abrahams <dave@boostpro.com>
To: ding@gnus.org
Subject: Re: isync plus dovecot?
Date: Sun, 16 Jun 2013 11:49:30 -0700 [thread overview]
Message-ID: <m2ppvl51s5.fsf@cube.gateway.2wire.net> (raw)
In-Reply-To: <874ne3xwpu.fsf@ericabrahamsen.net>
on Wed May 15 2013, Eric Abrahamsen <eric-AT-ericabrahamsen.net> 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.
>
> Specifically, you tell offlineimap to deliver to dovecot with a line
> like:
>
> preauthtunnel = /usr/lib/dovecot/imap -o mail_location=maildir:$HOME/Maildir
>
> I can't find the equivalent command for mbsync. I don't know if it's
> possible, and worse I don't really understand what's going on well
> enough to really figure it out logically.
>
> Is it enough just to have mbsync dump to a Maildir directly, and then
> tell gnus to access that maildir via dovecot?
>
> Any pointers very welcome!
This may be cominig very late, but: http://onmsg.github.com might still
be of some use to you. I haven't touched the stuff in some time now,
but it still works great for me.
Here's my fairly-complicated .mbsyncrc, including the preauth tunneling
thing:
--8<---------------cut here---------------start------------->8---
IMAPAccount boostpro-gmail-account
Host imap.gmail.com
User dave@boostpro.com
UseIMAPS yes
# RequireSSL yes
CertificateFile ~/.certs/imap.gmail.com.pem
Pass "################"
IMAPStore boostpro-gmail-store
Account boostpro-gmail-account
IMAPAccount local-dovecot
Host localhost
User dave
Tunnel /opt/local/libexec/dovecot/imap
IMAPStore local-dovecot-store
Account local-dovecot
Channel boostpro-active-channel
Master :boostpro-gmail-store:
Slave :local-dovecot-store:
Patterns "INBOX" "travel" "apple"
Create Both
# Sync ReNew Delete Flags
Expunge Both
SyncState ~/Library/Data/mbsync/boostpro-gmail-sync-state/
Channel boostpro-list-channel
Master :boostpro-gmail-store:
Slave :local-dovecot-store:
Patterns "committee"
Create Slave
Sync New Flags
SyncState ~/Library/Data/mbsync/boostpro-gmail-sync-state/
Channel boostpro-gmail-channel
Master :boostpro-gmail-store:
Slave :local-dovecot-store:
Patterns "[Gmail]/All Mail" "committee"
Create Slave
Sync New
SyncState ~/Library/Data/mbsync/boostpro-gmail-sync-state/
Channel boostpro-spam-channel
Master :boostpro-gmail-store:
Slave :local-dovecot-store:
Patterns "[Gmail]/Spam"
Create Master
Sync Push
SyncState ~/Library/Data/mbsync/boostpro-gmail-sync-state/
--8<---------------cut here---------------end--------------->8---
--
Dave Abrahams
next prev parent reply other threads:[~2013-06-16 18:49 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
2013-05-22 18:24 ` Drew Raines
2013-05-24 4:36 ` Eric Abrahamsen
2013-06-16 18:49 ` Dave Abrahams [this message]
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=m2ppvl51s5.fsf@cube.gateway.2wire.net \
--to=dave@boostpro.com \
--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).