From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/83171 Path: news.gmane.org!not-for-mail From: Dan Christensen Newsgroups: gmane.emacs.gnus.general Subject: Re: isync plus dovecot? Date: Fri, 17 May 2013 21:52:44 +0100 Message-ID: <874ne1e3c3.fsf@uwo.ca> References: <874ne3xwpu.fsf@ericabrahamsen.net> <87d2srf4yp.fsf@uwo.ca> <87sj1m9d8p.fsf@krugs.de> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1368824103 21556 80.91.229.3 (17 May 2013 20:55:03 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 17 May 2013 20:55:03 +0000 (UTC) To: ding@gnus.org Original-X-From: ding-owner+M31437@lists.math.uh.edu Fri May 17 22:55:03 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 1UdRg7-0001Lp-0d for ding-account@gmane.org; Fri, 17 May 2013 22:55:03 +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 1UdReM-0007Tm-C2; Fri, 17 May 2013 15:53:14 -0500 Original-Received: from mx2.math.uh.edu ([129.7.128.33]) by util0.math.uh.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.63) (envelope-from ) id 1UdReL-0007Tc-3j for ding@lists.math.uh.edu; Fri, 17 May 2013 15:53:13 -0500 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx2.math.uh.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.76) (envelope-from ) id 1UdRe6-0006hT-Fe for ding@lists.math.uh.edu; Fri, 17 May 2013 15:53:12 -0500 Original-Received: from plane.gmane.org ([80.91.229.3]) by quimby.gnus.org with esmtp (Exim 4.72) (envelope-from ) id 1UdRe4-0006GB-FE for ding@gnus.org; Fri, 17 May 2013 22:52:56 +0200 Original-Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1UdRe4-0007h5-BF for ding@gnus.org; Fri, 17 May 2013 22:52:56 +0200 Original-Received: from a85-138-74-16.cpe.netcabo.pt ([85.138.74.16]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 17 May 2013 22:52:56 +0200 Original-Received: from jdc by a85-138-74-16.cpe.netcabo.pt with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 17 May 2013 22:52:56 +0200 X-Injected-Via-Gmane: http://gmane.org/ Mail-Followup-To: ding@gnus.org Original-Lines: 39 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: a85-138-74-16.cpe.netcabo.pt User-Agent: Gnus/5.130006 (Ma Gnus v0.6) Emacs/23.3 (gnu/linux) Mail-Copies-To: never Cancel-Lock: sha1:viUBYyR+zBUZf+6kkQsI/xeICl8= X-Spam-Score: -2.5 (--) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:83171 Archived-At: 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