From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.user/18406 Path: news.gmane.org!.POSTED!not-for-mail From: Dave Abrahams Newsgroups: gmane.emacs.gnus.user Subject: Re: nnir-notmuch-engine setup with gnus/offlineimap/dovecot Date: Fri, 30 Sep 2016 10:13:59 -0700 Message-ID: References: <87vaxndwe6.fsf@gmail.com> <86fuoi6uij.fsf@gmail.com> <86fuoha3l6.fsf@gmail.com> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: blaine.gmane.org 1475256329 3401 195.159.176.226 (30 Sep 2016 17:25:29 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Fri, 30 Sep 2016 17:25:29 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.2.50 (darwin) To: info-gnus-english@gnu.org Original-X-From: info-gnus-english-bounces+gegu-info-gnus-english=m.gmane.org@gnu.org Fri Sep 30 19:25:25 2016 Return-path: Envelope-to: gegu-info-gnus-english@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bq1Yk-0007us-TZ for gegu-info-gnus-english@m.gmane.org; Fri, 30 Sep 2016 19:25:19 +0200 Original-Received: from localhost ([::1]:45982 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bq1Ym-0008Km-By for gegu-info-gnus-english@m.gmane.org; Fri, 30 Sep 2016 13:25:20 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:55784) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bq1Yi-0008JS-BQ for info-gnus-english@gnu.org; Fri, 30 Sep 2016 13:25:17 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bq1Ye-0001UB-9U for info-gnus-english@gnu.org; Fri, 30 Sep 2016 13:25:16 -0400 Original-Received: from [195.159.176.226] (port=36098 helo=blaine.gmane.org) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bq1Ye-0001R0-2G for info-gnus-english@gnu.org; Fri, 30 Sep 2016 13:25:12 -0400 Original-Received: from list by blaine.gmane.org with local (Exim 4.84_2) (envelope-from ) id 1bq1YU-000682-Ma for info-gnus-english@gnu.org; Fri, 30 Sep 2016 19:25:02 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 112 Original-X-Complaints-To: usenet@blaine.gmane.org Cancel-Lock: sha1:U4FIAz/YMporH3UEnOWt3A6o3O4= X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 195.159.176.226 X-BeenThere: info-gnus-english@gnu.org X-Mailman-Version: 2.1.21 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: , Errors-To: info-gnus-english-bounces+gegu-info-gnus-english=m.gmane.org@gnu.org Original-Sender: "info-gnus-english" Xref: news.gmane.org gmane.emacs.gnus.user:18406 Archived-At: on Fri Sep 30 2016, myglc2 wrote: > Rainer M Krug writes: > >> myglc2 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 > # > # > # > 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. I don't have any issues suspending my macs with isync running. -- -Dave