From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/83172 Path: news.gmane.org!not-for-mail From: Eric Abrahamsen Newsgroups: gmane.emacs.gnus.general Subject: Re: isync plus dovecot? Date: Sat, 18 May 2013 09:48:43 +0800 Message-ID: <878v3dnjlw.fsf@ericabrahamsen.net> References: <874ne3xwpu.fsf@ericabrahamsen.net> <87d2srf4yp.fsf@uwo.ca> <87sj1m9d8p.fsf@krugs.de> <874ne1e3c3.fsf@uwo.ca> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1368841862 12087 80.91.229.3 (18 May 2013 01:51:02 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 18 May 2013 01:51:02 +0000 (UTC) To: ding@gnus.org Original-X-From: ding-owner+M31438@lists.math.uh.edu Sat May 18 03:51:02 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 1UdWIX-0000Kk-RU for ding-account@gmane.org; Sat, 18 May 2013 03:51:02 +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 1UdWGj-0000H6-RM; Fri, 17 May 2013 20:49:09 -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 1UdWGg-0000Gp-RN for ding@lists.math.uh.edu; Fri, 17 May 2013 20:49:06 -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 1UdWGb-0005j5-DA for ding@lists.math.uh.edu; Fri, 17 May 2013 20:49:06 -0500 Original-Received: from plane.gmane.org ([80.91.229.3]) by quimby.gnus.org with esmtp (Exim 4.72) (envelope-from ) id 1UdWGZ-0007eL-CA for ding@gnus.org; Sat, 18 May 2013 03:48:59 +0200 Original-Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1UdWGY-0006zh-Q9 for ding@gnus.org; Sat, 18 May 2013 03:48:58 +0200 Original-Received: from 114.250.120.47 ([114.250.120.47]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 18 May 2013 03:48:58 +0200 Original-Received: from eric by 114.250.120.47 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 18 May 2013 03:48:58 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 49 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: 114.250.120.47 User-Agent: Gnus/5.130008 (Ma Gnus v0.8) Emacs/24.3 (gnu/linux) Cancel-Lock: sha1:eltMTpm1ZZntwkcVNN/QXJBE55A= 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-2232--13520h-0s--0d--H*u:Emacs, 0.000-654--3961h-0s--0d--H*u:Gnus, 0.000-617--3733h-0s--0d--H*UA:linux, 0.000-616--3732h-0s--0d--H*u:linux, 0.000-606--3671h-0s--0d--H*UA:gnu Spam tokens: 0.990-6360--372h-33525s--0d--HTo:D*gnus.org, 0.990-6657--399h-35138s--0d--HX-Spam-Relays-External:quimby.gnus.org, 0.990-6657--399h-35138s--0d--H*RU:quimby.gnus.org, 0.987-6557--500h-35140s--0d--HX-Spam-Relays-Internal:quimby.gnus.org, 0.987-6557--500h-35140s--0d--H*RT:80.91.231.51 Autolearn status: no -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] 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 -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:83172 Archived-At: Dan Christensen writes: > Rainer@krugs.de (Rainer M. Krug) writes: > >> Dan Christensen writes: >> >>> Eric Abrahamsen writes: >>> >>> 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. >> >> Yes please - I would be interested as well. Could you provide some >> keywords to search for? > > Here's one place I described it: > > http://lists.gnu.org/archive/html/info-gnus-english/2011-10/msg00052.html > > For convenience, I've copied the body of that message below. I'm using > offlineimap 6.3.5-rc3. > > Dan > > offlineimap doesn't sync custom flags by default. The hack I use just > monkeypatches the flagmap. Put the following in .offlineimap.py: > > import offlineimap.imaputil as IU > if not hasattr(IU, 'monkeypatchdone'): > IU.flagmap += [('gnus-expire','E'), > ('gnus-dormant', 'Q'), > ('gnus-save', 'V'), > ('gnus-forward', 'W')] > IU.monkeypatchdone = True > > To activate this, you put > > pythonfile = ~/.offlineimap.py > > in your .offlineimaprc This looks a bit like the instructions I started off following online: http://roland.entierement.nu/blog/2010/09/08/gnus-dovecot-offlineimap-search-a-howto.html I only realized after I failing to get it to work several times that there's an update at the bottom of the blog post for versions of dovecot over 2.0.