From ef7a4b6ce8948a8f17e23ee73888b50c34d4f804 Mon Sep 17 00:00:00 2001 From: Yeison Quintero Date: Thu, 9 Jul 2015 16:44:01 +1930 Subject: [PATCH] Re: Notmuch-mutt in RaspberryPi --- 03/64537456d2c7caf88bed9af4c85cc23ffe40ba | 270 ++++++++++++++++++++++ 1 file changed, 270 insertions(+) create mode 100644 03/64537456d2c7caf88bed9af4c85cc23ffe40ba diff --git a/03/64537456d2c7caf88bed9af4c85cc23ffe40ba b/03/64537456d2c7caf88bed9af4c85cc23ffe40ba new file mode 100644 index 000000000..1da6b3586 --- /dev/null +++ b/03/64537456d2c7caf88bed9af4c85cc23ffe40ba @@ -0,0 +1,270 @@ +Return-Path: +X-Original-To: notmuch@notmuchmail.org +Delivered-To: notmuch@notmuchmail.org +Received: from localhost (localhost [127.0.0.1]) + by arlo.cworth.org (Postfix) with ESMTP id 36E736DE1216 + for ; Wed, 8 Jul 2015 14:14:09 -0700 (PDT) +X-Virus-Scanned: Debian amavisd-new at cworth.org +X-Spam-Flag: NO +X-Spam-Score: -0.161 +X-Spam-Level: +X-Spam-Status: No, score=-0.161 tagged_above=-999 required=5 + tests=[AWL=-0.424, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, + RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_SOFTFAIL=0.972, + T_REMOTE_IMAGE=0.01] autolearn=disabled +Received: from arlo.cworth.org ([127.0.0.1]) + by localhost (arlo.cworth.org [127.0.0.1]) (amavisd-new, port 10024) + with ESMTP id rDhpFpYuxxXE for ; + Wed, 8 Jul 2015 14:14:06 -0700 (PDT) +Received: from mail-lb0-f180.google.com (mail-lb0-f180.google.com + [209.85.217.180]) + by arlo.cworth.org (Postfix) with ESMTPS id 69A376DE009A + for ; Wed, 8 Jul 2015 14:14:05 -0700 (PDT) +Received: by lbnk3 with SMTP id k3so63888677lbn.1 + for ; Wed, 08 Jul 2015 14:14:02 -0700 (PDT) +X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; + d=1e100.net; s=20130820; + h=x-gm-message-state:mime-version:in-reply-to:references:date + :message-id:subject:from:to:cc:content-type; + bh=8m8OYYyXnYWv7ZXimXj1BbMoCHs0N6T8nWmMBZ0etMw=; + b=F6CUUMkbWhpK3xjFfwhBOgWXI2eJ4nchRwgJnrfJ7nDaAgXJhm1TtmeN1IJoPGNnHb + M6KGtqAg7a/V28rmXwOnqlwEAUb/A8v6F1L+x/990KUpf2s24kdHJh3H0U4mJLlsjP6d + TO5RYUt8PrFIbHFh7hLzWG2fkmmrTxd7TcHApMDe37l02fBuOA5S2dgRaizSyx6udSKq + n8KE57v3iB8cLNgNRa//mB3dbm3qmMnbeTdnqd3/PcggtHBoc+szZXw+amIiVL7wmcSX + i5Mq62xeaTr2nYu+Qp5QWnv1x8tUalrjYsC8jxNFZzeto6WKwUmfEE9rjzz4V80QXZbI + goog== +X-Gm-Message-State: + ALoCoQnfSSXMSjNdozbCVALRcNs2SdmXlzcatKDTsVa3ne9bfHpGx3eDfsfeowml2E8C5W9NwogS +MIME-Version: 1.0 +X-Received: by 10.152.37.196 with SMTP id a4mr11605600lak.59.1436390041941; + Wed, 08 Jul 2015 14:14:01 -0700 (PDT) +Received: by 10.25.87.66 with HTTP; Wed, 8 Jul 2015 14:14:01 -0700 (PDT) +X-Originating-IP: [186.90.219.162] +In-Reply-To: <87io9umyam.fsf@maritornes.cs.unb.ca> +References: <1436322928169-4033688.post@n3.nabble.com> + <87io9umyam.fsf@maritornes.cs.unb.ca> +Date: Wed, 8 Jul 2015 16:44:01 -0430 +Message-ID: + +Subject: Re: Notmuch-mutt in RaspberryPi +From: Yeison Quintero +To: David Bremner +Content-Type: multipart/alternative; boundary=089e01493c8a35918d051a639e4e +X-Mailman-Approved-At: Wed, 08 Jul 2015 15:24:59 -0700 +Cc: notmuch@notmuchmail.org +X-BeenThere: notmuch@notmuchmail.org +X-Mailman-Version: 2.1.18 +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, 08 Jul 2015 21:14:09 -0000 + +--089e01493c8a35918d051a639e4e +Content-Type: text/plain; charset=UTF-8 + +Good afternoon David. + +Do you know somebody who understands the trouble? + +Regards, + +Yeison Quintero +System Administrator +Spanish Connector L.L.C +Venezuela +Phone: +*1-404-480-9188* Ext. +8012 + (US) / *58* +- +*243* +- +*242* +- +*0470 *(Venezuela) +Email: yeison.quintero@spanishconnector.com +Skype ID: spanishconnector.yeison1 +Website: www.spanishconnector.com + Estamos en LinkedIn. Connect with us! + + Estamos en Facebook. Like us! + + Estamos en Twitter. Follow us! + + +2015-07-08 11:33 GMT-04:30 David Bremner : + +> yquintero writes: +> +> > Good evenning. +> > +> > I have a trouble, when I configure notmuch-mutt in my RaspberryPi. I have +> > been searching the solution to the following code: +> > +> > Warning: failed to open directory /home/pi/mail: No such file or +> directory +> > Found 0 total files (that's not much mail). +> > Error: Cannot create database at /home/pi/mail: No such file or +> directory. +> +> Did you first run "notmuch setup" and then "notmuch new"? +> +> > +> > Firstly I apply these steps before to run notmuch-mutt +> > +> > 1).- I add the macros: +> > +> > # 'L' performs a notmuch query, showing only the results +> > macro index L "unset wait_keyread -p +> > 'notmuch query: ' x; echo \$x +> >>~/.cache/mutt_terms~i \"\`notmuch search --output=messages +> > \$(cat ~/.cache/mutt_terms) | head -n 600 | +> > perl -le '@a=<>;chomp@a;s/\^id:// for@a;$,=\"|\";print@a'\`\"" +> "show +> > only messages matching a notmuch pattern" +> > # 'a' shows all messages again (supersedes default binding) +> > macro index a "all\n" "show all messages (undo limit)" +> > +> > 2).- I change apply chmod 777 -R /home/pi/mail/ "Making that the error +> does +> > not show" but when I try the find with "L" with .muttrc the system shows +> > "empty exception" +> > +> +> I'm not very familiar with mutt but that doesn't sound like the right +> solution to anything. In any case, please get command line notmuch +> searches working first, then we can find someone who understands any +> remaining issues with notmuch-mutt. +> + +--089e01493c8a35918d051a639e4e +Content-Type: text/html; charset=UTF-8 +Content-Transfer-Encoding: quoted-printable + +
Good afternoon David.

Do you know someb= +ody who understands the trouble?

Regards,

= +Yeison Quintero<= +/font>
System Administrator
Spanish Connector L.L.C
Venezuela
Phone:=C2=A0
1-404-480-9188
=C2= +=A0Ext.=C2=A0
8012
=C2=A0
(US)=C2=A0=C2=A0/ =C2=A058
-
243
-
242
-
0470=C2=A0(Venezuela)=C2=A0

= +
Skype = +ID:=C2=A0spanishconnector.yeison1
Website:=C2=A0www.s= +panishconnector.com
3D""
+
2015-07-08 11:33 GMT-04:30 David Bremner <d= +avid@tethera.net>:
yquinter= +o <yeison.quinte= +ro@spanishconnector.com> writes:
+
+> Good evenning.
+>
+> I have a trouble, when I configure notmuch-mutt in my RaspberryPi. I h= +ave
+> been searching the solution to the following code:
+>
+> Warning: failed to open directory /home/pi/mail: No such file or direc= +tory
+> Found 0 total files (that's not much mail).
+> Error: Cannot create database at /home/pi/mail: No such file or direct= +ory.
+
+Did you first run "notmuch setup" and then "notmuch new"= +;?
+
+>
+> Firstly I apply these steps before to run notmuch-mutt
+>
+> 1).- I add the macros:
+>
+> # 'L' performs a notmuch query, showing only the results
+> macro index L "<enter-command>unset wait_key<enter>&l= +t;shell-escape>read -p
+> 'notmuch query: ' x; echo \$x
+>>~/.cache/mutt_terms<enter><limit>~i \"\`notmuch se= +arch --output=3Dmessages
+> \$(cat ~/.cache/mutt_terms) | head -n 600 |
+> perl -le '@a=3D<>;chomp@a;s/\^id:// for@a;$,=3D\"|\&quo= +t;;print@a'\`\"<enter>" "show
+> only messages matching a notmuch pattern"
+> # 'a' shows all messages again (supersedes default <alias&g= +t; binding)
+> macro index a "<limit>all\n" "show all messages (= +undo limit)"
+>
+> 2).- I change apply chmod 777 -R /home/pi/mail/ "Making that the = +error does
+> not show" but when I try the find with "L" with .muttrc= + the system shows
+> "empty exception"
+>
+
+I'm not very familiar with mutt but that doesn't sound like the rig= +ht
+solution to anything. In any case, please get command line notmuch
+searches working first, then we can find someone who understands any
+remaining issues with notmuch-mutt.
+

+ +--089e01493c8a35918d051a639e4e-- -- 2.26.2