From 12e973a1cc5ef4b0bc7c0c795c193fa3a54e9df8 Mon Sep 17 00:00:00 2001 From: Rainer M Krug Date: Wed, 28 Nov 2012 15:47:37 +0100 Subject: [PATCH] gmail label support in offlineimap - update --- fd/763c05f57a4ae7aaf92854874913c67f6c30f6 | 106 ++++++++++++++++++++++ 1 file changed, 106 insertions(+) create mode 100644 fd/763c05f57a4ae7aaf92854874913c67f6c30f6 diff --git a/fd/763c05f57a4ae7aaf92854874913c67f6c30f6 b/fd/763c05f57a4ae7aaf92854874913c67f6c30f6 new file mode 100644 index 000000000..f8c2cd6e7 --- /dev/null +++ b/fd/763c05f57a4ae7aaf92854874913c67f6c30f6 @@ -0,0 +1,106 @@ +Return-Path: +X-Original-To: notmuch@notmuchmail.org +Delivered-To: notmuch@notmuchmail.org +Received: from localhost (localhost [127.0.0.1]) + by olra.theworths.org (Postfix) with ESMTP id 8B9A5431FAF + for ; Wed, 28 Nov 2012 06:47:43 -0800 (PST) +X-Virus-Scanned: Debian amavisd-new at olra.theworths.org +X-Spam-Flag: NO +X-Spam-Score: -0.799 +X-Spam-Level: +X-Spam-Status: No, score=-0.799 tagged_above=-999 required=5 + tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, + FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7] autolearn=disabled +Received: from olra.theworths.org ([127.0.0.1]) + by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024) + with ESMTP id P2Dv+4rU5YzL for ; + Wed, 28 Nov 2012 06:47:42 -0800 (PST) +Received: from mail-ee0-f53.google.com (mail-ee0-f53.google.com + [74.125.83.53]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client + certificate requested) by olra.theworths.org (Postfix) with ESMTPS id + 47EE9431FAE for ; Wed, 28 Nov 2012 06:47:42 -0800 + (PST) +Received: by mail-ee0-f53.google.com with SMTP id c50so8598851eek.26 + for ; Wed, 28 Nov 2012 06:47:39 -0800 (PST) +DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; + h=message-id:date:from:user-agent:mime-version:to:cc:subject + :x-enigmail-version:content-type:content-transfer-encoding; + bh=1VbJpOKRy5rqU5oveejqn5AWtZL5stgZUbbhlS93Jvc=; + b=gsKTjksMWe1W3w7iKv8QF5quynf1R5Sp8+6cQBHuxc7luy8ZzSJJ/JDHCMYrlmM0FG + El/NvaXe0mkIRzGcD14dwSh60VWWslI+RPZHiIBTMiTV0khmiKX7+kwx84Xz4lEu/OLw + zktQk7+O5HSrsMVxSybent7XVqysRoscYUHohhd+ksD9vzM5pPfKFWmqgBK+/b0JTluF + vfGiWheyb7WJKr1+n9uvmYMhLl+inmuzG4/Qk9Za/SMhb/Q4Ughwlf8sQB6W1IbAnTFA + RC1l2OW2g9Y0LmFkHyXiPIa5F2Qjb9WGIeEx+OJoqRpONAVpGpI14GZnJwUNR2u18CLS + GTWA== +Received: by 10.14.177.1 with SMTP id c1mr70265373eem.8.1354114059702; + Wed, 28 Nov 2012 06:47:39 -0800 (PST) +Received: from ?IPv6:2a01:e35:8baa:b070:712c:bb21:71a:da69? + ([2a01:e35:8baa:b070:712c:bb21:71a:da69]) + by mx.google.com with ESMTPS id e7sm47474971eep.1.2012.11.28.06.47.38 + (version=SSLv3 cipher=OTHER); Wed, 28 Nov 2012 06:47:39 -0800 (PST) +Message-ID: <50B62409.7050706@gmail.com> +Date: Wed, 28 Nov 2012 15:47:37 +0100 +From: Rainer M Krug +User-Agent: Mozilla/5.0 (X11; Linux i686; rv:17.0) Gecko/17.0 Thunderbird/17.0 +MIME-Version: 1.0 +To: notmuch@notmuchmail.org +Subject: gmail label support in offlineimap - update +X-Enigmail-Version: 1.5a1pre +Content-Type: text/plain; charset=ISO-8859-1 +Content-Transfer-Encoding: 8bit +Cc: =?ISO-8859-1?Q?Abd=F3_Roig-Maranges?= +X-BeenThere: notmuch@notmuchmail.org +X-Mailman-Version: 2.1.13 +Precedence: list +List-Id: "Use and development of the notmuch mail system." + +List-Unsubscribe: , + +List-Archive: +List-Post: +List-Help: +List-Subscribe: , + +X-List-Received-Date: Wed, 28 Nov 2012 14:47:44 -0000 + +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA1 + +Hi + +there is a patched version of offlineimap available which is synching gmail labels to x-keywords. +More information can be found here: + +http://thread.gmane.org/gmane.mail.imap.offlineimap.general/5943/focus=5970 + +and + +http://article.gmane.org/gmane.mail.imap.offlineimap.general/5970 + +It is written by Abdó ig-Maranges (I cc him this email). + +I would ask if it is possible (and desired) to include indexing of the X-keywords headers as well, +so that gmail labels can be represented as tags in notmuch. + +To have sync from notmuch tags to gmail labels, the tags would have to be written to a x-header as +well. + +This could possibly be activated by a config setting, so that emails are left unchanged by +default, but if write.Tags.In.X-Header is set to TRUE, the tags are synced to the x-headers as well. + +Unfortunately, I am not a programmer, it is only that I really like notmuch and would like to +continue using it with gmail label sync. + +I think this would be a very useful feature. + +Cheers, + +Rainer +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v1.4.11 (GNU/Linux) +Comment: Using GnuPG with Mozilla - http://www.enigmail.net/ + +iEYEARECAAYFAlC2JAkACgkQoYgNqgF2egqpKQCfWXqA0T45U1OaJ10Hhz6AnaU3 +CagAn2HVwpH1hsf5KYU+vbhG2VA2DC+Q +=oD7G +-----END PGP SIGNATURE----- -- 2.26.2