Announcements and discussions for Gnus, the GNU Emacs Usenet newsreader
 help / color / mirror / Atom feed
From: myglc2 <myglc2@gmail.com>
To: info-gnus-english@gnu.org
Subject: Re: nnir-notmuch-engine setup with gnus/offlineimap/dovecot
Date: Fri, 30 Sep 2016 10:01:57 -0400	[thread overview]
Message-ID: <86fuoha3l6.fsf@gmail.com> (raw)
In-Reply-To: <m2h98xswav.fsf@krugs.de>

Rainer M Krug <Rainer@krugs.de> writes:

> myglc2 <myglc2@gmail.com> writes:
>
>> was also important to build from the git repo because, at least a month
>> or two ago, the tar.gz at version 1.2.1 was missing a feature that turns
>> out to be important in my gmail sync setup.
>
> Which feature was this, if I may ask? I would also use isync for
> syncing a gmail account.

One of these sync options ...

Create Both
Expunge Both
SyncState *

... sorry I don't recall which.

> Could you share your config so that I can have
> an idea what I am looking at in a change ti isync?

Here is the top of my ~/.mbsyncrc. It includes Gmail config notes and
the config of one "channel" that syncs one Gmail account into ~/Maildir

# usage:
#   mbsync --all --verbose
# ... or for a single channel ...
#   mbsync --verbose --debug cm
#
# With Gmail configured this way ...
#
# > Settings > Labels
#
#     > System labels
#         Inbox      X Show in Imap
#         Starred      Show in Imap
#         Important    Show in Imap
#         Chats        Show in Imap
#         Sent Mail  X Show in Imap
#         Drafts       Show in Imap
#         All Mail   X Show in Imap
#         Spam         Show in Imap
#         Trash        Show in Imap
#
#     > Labels
#         <remove all labels>
#
# > Settings > Forwarding and POP/IMAP
#
#     > When I mark a message in IMAP as deleted:
#       X  Auto-Expung off
#
#     > When a message is marked as deleted and expunged...
#       X  Immediately delete the message forever
#
# ... the 'cm' config below produces a Mairdir store like ...
#
# /home/glc/Maildir/cm:
# drwx------ 6 glc glc 4096 Dec 12 20:14 [Gmail]
# drwx------ 5 glc glc 4096 Dec 12 20:13 INBOX
#
# /home/glc/Maildir/cm/[Gmail]:
# drwx------ 5 glc glc 4096 Dec 12 20:14 All Mail
# drwx------ 5 glc glc 4096 Dec 12 20:14 Sent Mail
# drwx------ 5 glc glc 4096 Dec 12 20:14 Trash
#
# Any "new" Gmail message initially appears in two ~/Maildir folders,
# either in 'cm/INBOX' + 'cm/[Gmail]/All Mail', or 'cm/[Gmail]/Sent
# Mail' + 'cm/[Gmail]/All Mail'. When you delete a message from both
# of the ~/Maildir folders it will be deleted from Gmail.

###### cm START 

IMAPAccount cm
Host imap.gmail.com
User USER@gmail.com
Pass PASSWORD
AuthMechs LOGIN
SSLType IMAPS
CertificateFile /etc/ssl/certs/ca-certificates.crt

IMAPStore cm-remote
Account cm

MaildirStore cm-local
Path ~/Maildir/cm/
Inbox ~/Maildir/cm/INBOX
SubFolders Verbatim

Channel cm
Master :cm-remote:
Slave :cm-local:
Patterns "*"
Create Both
Expunge Both
SyncState *

###### cm END

> How do these two compare in regards to stability (offlineimap has
> e.g. an issue wit suspend on the Mac)?

Don't know, I use it on a server.

- George



  reply	other threads:[~2016-09-30 14:01 UTC|newest]

Thread overview: 26+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-09-22 23:00 Arkady Grudzinsky
2016-09-23  5:21 ` Dmitry Alexandrov
2016-09-23  7:56   ` Rainer M Krug
2016-09-29 21:06     ` Dave Abrahams
2016-09-30  1:33       ` myglc2
2016-09-30  7:04         ` Rainer M Krug
2016-09-30 14:01           ` myglc2 [this message]
2016-09-30 15:04             ` Rainer M Krug
2016-09-30 17:13             ` Dave Abrahams
2016-09-30 12:02         ` Dave Abrahams
2016-09-30 14:28           ` myglc2
2016-09-30 15:06             ` Rainer M Krug
2016-09-30  6:59       ` Rainer M Krug
2016-09-30  9:51         ` Alan Schmitt
2016-09-30 10:33           ` Rainer M Krug
2016-09-30 11:50           ` Dave Abrahams
2016-09-30 11:44         ` Dave Abrahams
2016-09-30 12:56           ` Rainer M Krug
2016-09-30 17:13             ` Dave Abrahams
2016-09-23  7:58 ` Rainer M Krug
2016-09-23 21:27   ` Adam Sjøgren
2016-09-26 23:51     ` Arkady Grudzinsky
2016-09-27  2:54       ` Adam Sjøgren
2016-09-27  7:27       ` Rainer M Krug
2016-09-28 22:10         ` Arkady Grudzinsky
2016-09-29  6:57           ` Rainer M Krug

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=86fuoha3l6.fsf@gmail.com \
    --to=myglc2@gmail.com \
    --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).