From 6e84f67235b422a1a40cddedca1f388d8cb98993 Mon Sep 17 00:00:00 2001 From: Rainer M Krug Date: Fri, 1 Mar 2013 19:57:04 +0100 Subject: [PATCH] Re: nametrans rules --- 00/348c27659de997b8e528a4675047797d6a3411 | 200 ++++++++++++++++++++++ 1 file changed, 200 insertions(+) create mode 100644 00/348c27659de997b8e528a4675047797d6a3411 diff --git a/00/348c27659de997b8e528a4675047797d6a3411 b/00/348c27659de997b8e528a4675047797d6a3411 new file mode 100644 index 000000000..02dd92d90 --- /dev/null +++ b/00/348c27659de997b8e528a4675047797d6a3411 @@ -0,0 +1,200 @@ +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 D9EA7431FAF + for ; Fri, 1 Mar 2013 10:57:09 -0800 (PST) +X-Virus-Scanned: Debian amavisd-new at olra.theworths.org +X-Spam-Flag: NO +X-Spam-Score: -0.798 +X-Spam-Level: +X-Spam-Status: No, score=-0.798 tagged_above=-999 required=5 + tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, + FREEMAIL_FROM=0.001, HTML_MESSAGE=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 ICpAqsWIBCFB for ; + Fri, 1 Mar 2013 10:57:08 -0800 (PST) +Received: from mail-la0-f51.google.com (mail-la0-f51.google.com + [209.85.215.51]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) + (No client certificate requested) + by olra.theworths.org (Postfix) with ESMTPS id 2B473431FAE + for ; Fri, 1 Mar 2013 10:57:08 -0800 (PST) +Received: by mail-la0-f51.google.com with SMTP id fo13so3293788lab.38 + for ; Fri, 01 Mar 2013 10:57:05 -0800 (PST) +DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; + h=mime-version:x-received:in-reply-to:references:date:message-id + :subject:from:to:content-type; + bh=tJTRRz0YCtHi1CJLKW6d4mXnxcae3gMxUDSs4Y0fDn4=; + b=oyQeUE0m+e2a9WuICBvLQwVNtm9vHxjnf7ZSXoOA3GBWkaJ+b1/vqR2K5oSKwNhiUJ + 94fDfppv6IgkJSMXd5EwDIacUHJ29TeYImViin1U4nM3N427stvtQGK1O4nCTf/9sxrQ + 2rlNE4h5QtS/5h868wzdhO3X8IDNIXRWQRHT5zLQak3yBklDKyTCv/ww/15RSqq8Hh9S + vXjbGemuEetYVYyQQwjN7DHx9ze1BYZMN105T+PM4lynDsMDwhQcU5UN8d+KLpthU6rM + AUu/wfvzr2SpH60IzzAl6mLGUHIGpmQjjUxrlNwtXBhEUiJXZGj1hwebnRZsYC8v/b7V + jHPw== +MIME-Version: 1.0 +X-Received: by 10.112.88.35 with SMTP id bd3mr1175821lbb.56.1362164225030; + Fri, 01 Mar 2013 10:57:05 -0800 (PST) +Received: by 10.112.7.38 with HTTP; Fri, 1 Mar 2013 10:57:04 -0800 (PST) +In-Reply-To: <87a9qn88rj.fsf@krugs.de> +References: <87a9qn88rj.fsf@krugs.de> +Date: Fri, 1 Mar 2013 19:57:04 +0100 +Message-ID: + +Subject: Re: nametrans rules +From: Rainer M Krug +To: "notmuch@notmuchmail.org" +Content-Type: multipart/alternative; boundary=f46d04016ad9c246b704d6e192ba +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: Fri, 01 Mar 2013 18:57:10 -0000 + +--f46d04016ad9c246b704d6e192ba +Content-Type: text/plain; charset=ISO-8859-1 + +Sorry - wroong Mailingliste List. + +Rainer + +On Friday, March 1, 2013, wrote: + +> Hi +> I just want to make sure - are these nametrans rules correct, as on +> gmail side has / as a path separator and the local . ? +> +> See selected output from --info: +> +> gmail account: +> Remote repository 'RemoteRMKrugGMAIL': type 'Gmail' +> +> folderfilter= lambda folder: folder.startswith('GMAILArchive') +> nametrans= lambda foldername: 'RMKrugGMAIL.' + foldername +> +> GMAILArchive -> RMKrugGMAIL.GMAILArchive +> GMAILArchive/1970 -> RMKrugGMAIL.GMAILArchive/1970 +> +> local imap accound (dovecot) +> Local repository 'LocalRMKrugGMAIL': type 'MappedIMAP' +> +> RMKrugGMAIL.GMAILArchive -> GMAILArchive +> RMKrugGMAIL.GMAILArchive.1970 -> GMAILArchive.1970 +> +> Thanks, +> +> Rainer +> +> +> -- +> Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation +> Biology, UCT), Dipl. Phys. (Germany) +> +> Centre of Excellence for Invasion Biology +> Stellenbosch University +> South Africa +> +> Tel : +33 - (0)9 53 10 27 44 +> Cell: +33 - (0)6 85 62 59 98 +> Fax : +33 - (0)9 58 10 27 44 +> +> Fax (D): +49 - (0)3 21 21 25 22 44 +> +> email: Rainer@krugs.de +> +> Skype: RMkrug +> + + +-- +Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation Biology, +UCT), Dipl. Phys. (Germany) + +Centre of Excellence for Invasion Biology +Stellenbosch University +South Africa + +Tel : +33 - (0)9 53 10 27 44 +Cell: +33 - (0)6 85 62 59 98 +Fax (F): +33 - (0)9 58 10 27 44 + +Fax (D): +49 - (0)3 21 21 25 22 44 + +email: Rainer@krugs.de + +Skype: RMkrug + +--f46d04016ad9c246b704d6e192ba +Content-Type: text/html; charset=ISO-8859-1 +Content-Transfer-Encoding: quoted-printable + +Sorry - wroong Mailingliste List.

Rainer
On Friday, March 1, 2013, wrote:
H= +i
+ +I just want to make sure - are these nametrans rules correct, as on
+gmail side has / as a path separator and the local . ?
+
+See selected output from --info:
+
+gmail account:
+=A0Remote repository 'RemoteRMKrugGMAIL': type 'Gmail'
+
+=A0folderfilter=3D lambda folder: folder.startswith('GMAILArchive')= +
+=A0nametrans=3D lambda foldername: 'RMKrugGMAIL.' + foldername
+
+=A0GMAILArchive -> RMKrugGMAIL.GMAILArchive
+=A0GMAILArchive/1970 -> RMKrugGMAIL.GMAILArchive/1970
+
+local imap accound (dovecot)
+=A0Local repository 'LocalRMKrugGMAIL': type 'MappedIMAP' +
+=A0RMKrugGMAIL.GMAILArchive -> GMAILArchive
+=A0RMKrugGMAIL.GMAILArchive.1970 -> GMAILArchive.1970
+
+Thanks,
+
+Rainer
+
+
+--
+Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation Biology,= + UCT), Dipl. Phys. (Germany)
+
+Centre of Excellence for Invasion Biology
+Stellenbosch University
+South Africa
+
+Tel : =A0 =A0 =A0 +33 - (0)9 53 10 27 44
+Cell: =A0 =A0 =A0 +33 - (0)6 85 62 59 98
+Fax : =A0 =A0 =A0 +33 - (0)9 58 10 27 44
+
+Fax (D): =A0 =A0+49 - (0)3 21 21 25 22 44
+
+email: =A0 =A0 =A0Rainer@krugs.de
+
+Skype: =A0 =A0 =A0RMkrug
+


--
Rainer M. Krug, PhD (Conservation Ecology= +, SUN), MSc (Conservation Biology, UCT), Dipl. Phys. (Germany)

Centr= +e of Excellence for Invasion Biology
Stellenbosch University
South Af= +rica
+
Tel : =A0 =A0 =A0 +33 - (0)9 53 10 27 44
Cell: =A0 =A0 =A0 +33 - (0)= +6 85 62 59 98
Fax (F): =A0 =A0 =A0 +33 - (0)9 58 10 27 44

Fax (D)= +: =A0 =A0+49 - (0)3 21 21 25 22 44

email: =A0 =A0 =A0Rainer@krugs.de
+
Skype: =A0 =A0 =A0RMkrug

+ +--f46d04016ad9c246b704d6e192ba-- -- 2.26.2