From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/83162 Path: news.gmane.org!not-for-mail From: Eric Abrahamsen Newsgroups: gmane.emacs.gnus.general Subject: Re: isync plus dovecot? Date: Fri, 17 May 2013 12:02:00 +0800 Message-ID: <874ne2uudj.fsf@ericabrahamsen.net> References: <874ne3xwpu.fsf@ericabrahamsen.net> <87d2srf4yp.fsf@uwo.ca> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1368763469 19233 80.91.229.3 (17 May 2013 04:04:29 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 17 May 2013 04:04:29 +0000 (UTC) To: ding@gnus.org Original-X-From: ding-owner+M31428@lists.math.uh.edu Fri May 17 06:04:28 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 1UdBu7-0006cB-1P for ding-account@gmane.org; Fri, 17 May 2013 06:04:27 +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 1UdBsB-0002m1-Ap; Thu, 16 May 2013 23:02:27 -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 1UdBs8-0002lk-DL for ding@lists.math.uh.edu; Thu, 16 May 2013 23:02:24 -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 1UdBrz-0000M8-IV for ding@lists.math.uh.edu; Thu, 16 May 2013 23:02:23 -0500 Original-Received: from plane.gmane.org ([80.91.229.3]) by quimby.gnus.org with esmtp (Exim 4.72) (envelope-from ) id 1UdBrx-0005f5-Fq for ding@gnus.org; Fri, 17 May 2013 06:02:13 +0200 Original-Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1UdBrs-000511-7S for ding@gnus.org; Fri, 17 May 2013 06:02:08 +0200 Original-Received: from 114.250.129.45 ([114.250.129.45]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 17 May 2013 06:02:08 +0200 Original-Received: from eric by 114.250.129.45 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 17 May 2013 06:02:08 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 50 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: 114.250.129.45 User-Agent: Gnus/5.130008 (Ma Gnus v0.8) Emacs/24.3 (gnu/linux) Cancel-Lock: sha1:XUJINihdGb6fs/aXGF9B8Ex0wKM= X-Spam-Score: 0.8 (/) X-Spam-Report: SpamAssassin (3.3.1 2010-03-16) analysis follows Bayesian score: 0.0000 Ham tokens: 0.000-2229--13501h-0s--0d--H*u:Emacs, 0.000-653--3950h-0s--0d--H*u:Gnus, 0.000-615--3723h-0s--0d--H*UA:linux, 0.000-615--3722h-0s--0d--H*u:linux, 0.000-605--3661h-0s--0d--H*UA:gnu Spam tokens: 0.990-6329--366h-33349s--0d--HTo:D*gnus.org, 0.990-6625--393h-34959s--0d--HX-Spam-Relays-External:quimby.gnus.org, 0.990-6625--393h-34959s--0d--H*RU:quimby.gnus.org, 0.987-6524--494h-34961s--0d--HX-Spam-Relays-Internal:quimby.gnus.org, 0.987-6524--494h-34961s--0d--H*RT:80.91.231.51 Autolearn status: no 2.1 FSL_HELO_BARE_IP_2 FSL_HELO_BARE_IP_2 1.2 RCVD_NUMERIC_HELO Received: contains an IP address used for HELO -0.6 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:83162 Archived-At: Dan Christensen writes: > Eric Abrahamsen writes: > >> 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. > > I've used offlineimap for a couple of years, and I find it works well. > I've posted on the offlineimap list a way to get it to sync some of > the Gnus specific flags, like gnus-expire. If you can't find the > message, let me know and I'll dig it up. > >> 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. > > Nothing in my .offlineimaprc mentions dovecot, and I don't use a > preauthtunnel. I just tell offlineimap to connect to an IMAP server > at 127.0.0.1 and to another IMAP server at a certain host name. > >> Is it enough just to have mbsync dump to a Maildir directly, and then >> tell gnus to access that maildir via dovecot? > > That might work too, but I decided to let dovecot be in charge of the > Maildir directory, and make both Gnus and offlineimap interact with that > directory via the IMAP protocol. My method of syncing the non-standard > flags relies on this. > > I'm also curious to hear about alternatives to offlineimap, so I hope > some people reply with their experience. Ugh, clearly I just don't know enough about how this all actually works to make an informed decision. I don't even really get what letting dovecot "be in charge of the Maildir directory" really means. And if the other Eric is able to use the native Gnus agent and it works fine offline, why is everyone jumping through all these hoops? Maybe I'll just spend some time with google until I actually understand what's happening... Thanks, Eric PS I'm also using gmail. Actually I have four addresses, all of them google, three of them google apps domains. Yeesh