From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/83393 Path: news.gmane.org!not-for-mail From: Eric Abrahamsen Newsgroups: gmane.emacs.gnus.general Subject: Re: isync plus dovecot? Date: Mon, 24 Jun 2013 15:06:35 +0100 Message-ID: <87wqpjr4b8.fsf@ericabrahamsen.net> References: <874ne3xwpu.fsf@ericabrahamsen.net> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1372082918 22927 80.91.229.3 (24 Jun 2013 14:08:38 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 24 Jun 2013 14:08:38 +0000 (UTC) To: ding@gnus.org Original-X-From: ding-owner+M31653@lists.math.uh.edu Mon Jun 24 16:08:38 2013 Return-path: Envelope-to: ding-account@gmane.org Original-Received: from util0.math.uh.edu ([129.7.128.18]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Ur7Re-0007LI-HS for ding-account@gmane.org; Mon, 24 Jun 2013 16:08:38 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu) by util0.math.uh.edu with smtp (Exim 4.63) (envelope-from ) id 1Ur7Pf-0002QX-GD; Mon, 24 Jun 2013 09:06:35 -0500 Original-Received: from mx1.math.uh.edu ([129.7.128.32]) by util0.math.uh.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.63) (envelope-from ) id 1Ur7Pc-0002QJ-Fm for ding@lists.math.uh.edu; Mon, 24 Jun 2013 09:06:32 -0500 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx1.math.uh.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.76) (envelope-from ) id 1Ur7PX-0007Vr-Dm for ding@lists.math.uh.edu; Mon, 24 Jun 2013 09:06:31 -0500 Original-Received: from plane.gmane.org ([80.91.229.3]) by quimby.gnus.org with esmtp (Exim 4.72) (envelope-from ) id 1Ur7PV-00048Z-EV for ding@gnus.org; Mon, 24 Jun 2013 16:06:25 +0200 Original-Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1Ur7PV-0005YU-79 for ding@gnus.org; Mon, 24 Jun 2013 16:06:25 +0200 Original-Received: from 2.26.91.172 ([2.26.91.172]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 24 Jun 2013 16:06:25 +0200 Original-Received: from eric by 2.26.91.172 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 24 Jun 2013 16:06:25 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 57 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: 2.26.91.172 User-Agent: Gnus/5.130008 (Ma Gnus v0.8) Emacs/24.3 (gnu/linux) Cancel-Lock: sha1:csmzobWDMZ/xlqAuGx7y0AHYy6I= X-Spam-Score: 0.4 (/) X-Spam-Report: SpamAssassin (3.3.1 2010-03-16) analysis follows Bayesian score: 0.0000 Ham tokens: 0.000-2273--13893h-0s--1d--H*u:Emacs, 0.000-692--4230h-0s--1d--H*u:Gnus, 0.000-653--3987h-0s--1d--H*UA:linux, 0.000-652--3986h-0s--1d--H*u:linux, 0.000-642--3923h-0s--1d--H*UA:gnu Spam tokens: 0.989-8051--515h-42283s--0d--HX-Spam-Relays-External:quimby.gnus.org, 0.989-8051--515h-42283s--0d--H*RU:quimby.gnus.org, 0.989-7695--501h-40459s--0d--HTo:D*gnus.org, 0.986-7904--662h-42285s--0d--HX-Spam-Relays-Internal:quimby.gnus.org, 0.986-7904--662h-42285s--0d--H*RT:80.91.231.51 Autolearn status: no 2.2 FSL_HELO_BARE_IP_2 FSL_HELO_BARE_IP_2 1.2 RCVD_NUMERIC_HELO Received: contains an IP address used for HELO -1.1 RP_MATCHES_RCVD Envelope sender domain matches handover relay domain -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at http://www.dnswl.org/, no trust [80.91.229.3 listed in list.dnswl.org] -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:83393 Archived-At: Dave Abrahams writes: > on Wed May 15 2013, 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. [...] >> Specifically, you tell offlineimap to deliver to dovecot with a line >> like: >> >> preauthtunnel = /usr/lib/dovecot/imap -o mail_location=maildir:$HOME/Maildir [...] > Here's my fairly-complicated .mbsyncrc, including the preauth tunneling > thing: Okay, with help from Dave I'm now up and running with mbsync/dovecot/gnus. It wasn't actually all that hard in the end, the offlineimap and mbsync invocations were very similar. I'm now able to access most mail through gnus, with one strange exception: I've got several imap accounts, with a separate server per account, and when I go into the individual servers via the *Server* buffer they all look something like this: 22879: INBOX 0: [Gmail] 0: [Gmail] 0: [Gmail] 0: [Gmail] 0: [Gmail] 0: [Gmail] 8127: [Gmail]/Sent Mail I'm guessing the empty entries represent Drafts, Important, Sent Mail, Spam, Starred, and Trash, because each account only has Gmail's standard folders (I haven't used imap before). I suspect it has something to do with the fact that the dovecot invocation in both mbsync and gnus looks like: /usr/lib/dovecot/imap -o mail_location=maildir:$HOME/.mail/account1/:LAYOUT=fs:LAYOUT=fs:INDEX=$HOME/.mail/indexes/account1 Is it likely that separating the indexes from the mailboxes would confuse gnus (or the gnus-dovecot conversation)? If so, I assume I could remove this separation, and just carefully move everything inside ~/.mail/indexes/account1 to ~/.mail/account1 ? Thanks for any pointers (and for getting me this far), Eric