Re: [PATCH 9/9] add has: query prefix to search for specific properties
[notmuch-archives.git] / 70 / 5014b2403543b53fb1dd81dae979795cdf95a7
1 Return-Path: <yeison.quintero@spanishconnector.com>\r
2 X-Original-To: notmuch@notmuchmail.org\r
3 Delivered-To: notmuch@notmuchmail.org\r
4 Received: from localhost (localhost [127.0.0.1])\r
5  by arlo.cworth.org (Postfix) with ESMTP id BD1876DE025E\r
6  for <notmuch@notmuchmail.org>; Tue,  7 Jul 2015 19:42:32 -0700 (PDT)\r
7 X-Virus-Scanned: Debian amavisd-new at cworth.org\r
8 X-Spam-Flag: NO\r
9 X-Spam-Score: 2.285\r
10 X-Spam-Level: **\r
11 X-Spam-Status: No, score=2.285 tagged_above=-999 required=5\r
12  tests=[SPF_SOFTFAIL=0.972, URI_HEX=1.313] autolearn=disabled\r
13 Received: from arlo.cworth.org ([127.0.0.1])\r
14  by localhost (arlo.cworth.org [127.0.0.1]) (amavisd-new, port 10024)\r
15  with ESMTP id 1pxUOAmMzb6K for <notmuch@notmuchmail.org>;\r
16  Tue,  7 Jul 2015 19:42:29 -0700 (PDT)\r
17 X-Greylist: delayed 419 seconds by postgrey-1.35 at arlo;\r
18  Tue, 07 Jul 2015 19:42:29 PDT\r
19 Received: from mwork.nabble.com (mwork.nabble.com [162.253.133.43])\r
20  by arlo.cworth.org (Postfix) with ESMTP id 550706DE00DD\r
21  for <notmuch@notmuchmail.org>; Tue,  7 Jul 2015 19:42:29 -0700 (PDT)\r
22 Received: from mben.nabble.com (unknown [162.253.133.72])\r
23  by mwork.nabble.com (Postfix) with ESMTP id 4F7A622E778B\r
24  for <notmuch@notmuchmail.org>; Tue,  7 Jul 2015 19:35:29 -0700 (PDT)\r
25 Date: Tue, 7 Jul 2015 19:35:28 -0700 (MST)\r
26 From: yquintero <yeison.quintero@spanishconnector.com>\r
27 To: notmuch@notmuchmail.org\r
28 Message-ID: <1436322928169-4033688.post@n3.nabble.com>\r
29 Subject: Notmuch-mutt in RaspberryPi\r
30 MIME-Version: 1.0\r
31 Content-Type: text/plain; charset=us-ascii\r
32 Content-Transfer-Encoding: 7bit\r
33 X-Mailman-Approved-At: Wed, 08 Jul 2015 08:12:29 -0700\r
34 X-BeenThere: notmuch@notmuchmail.org\r
35 X-Mailman-Version: 2.1.18\r
36 Precedence: list\r
37 List-Id: "Use and development of the notmuch mail system."\r
38  <notmuch.notmuchmail.org>\r
39 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
40  <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
41 List-Archive: <http://notmuchmail.org/pipermail/notmuch/>\r
42 List-Post: <mailto:notmuch@notmuchmail.org>\r
43 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
44 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
45  <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
46 X-List-Received-Date: Wed, 08 Jul 2015 02:42:32 -0000\r
47 \r
48 Good evenning.\r
49 \r
50 I have a trouble, when I configure notmuch-mutt in my RaspberryPi. I have\r
51 been searching the solution to the following code:\r
52 \r
53 Warning: failed to open directory /home/pi/mail: No such file or directory\r
54 Found 0 total files (that's not much mail).\r
55 Error: Cannot create database at /home/pi/mail: No such file or directory.\r
56 \r
57 Firstly I apply these steps before to run notmuch-mutt\r
58 \r
59 1).- I add the macros:\r
60 \r
61 # 'L' performs a notmuch query, showing only the results\r
62 macro index L "<enter-command>unset wait_key<enter><shell-escape>read -p\r
63 'notmuch query: ' x; echo \$x\r
64 >~/.cache/mutt_terms<enter><limit>~i \"\`notmuch search --output=messages\r
65 \$(cat ~/.cache/mutt_terms) | head -n 600 |\r
66 perl -le '@a=<>;chomp@a;s/\^id:// for@a;$,=\"|\";print@a'\`\"<enter>" "show\r
67 only messages matching a notmuch pattern"\r
68 # 'a' shows all messages again (supersedes default <alias> binding)\r
69 macro index a "<limit>all\n" "show all messages (undo limit)"\r
70 \r
71 2).- I change apply chmod 777 -R /home/pi/mail/ "Making that the error does\r
72 not show" but when I try the find with "L" with .muttrc the system shows\r
73 "empty exception"\r
74 \r
75 .muttrc\r
76 # Sets up mail box in your home folder\r
77 set mbox_type=maildir\r
78 set mbox="~/mail/inbox/"\r
79 set spoolfile="~/mail/inbox/"\r
80 set folder="~/mail/"\r
81 set record="~/mail/sent/"\r
82 set postponed="~/mail/postponed/"\r
83 \r
84 #Gmail account info\r
85 set from = "xxxx@mail.com"\r
86 set realname = "Pedro Perez"\r
87 set imap_user = "xxx@mail.com"\r
88 set imap_pass = ""\r
89 \r
90 # Folders\r
91 # Remote Folders\r
92 set folder = "imaps://imap.gmail.com:993"\r
93 set spoolfile = "+INBOX"\r
94 set postponed ="+[Gmail]/Drafts"\r
95 # Local Folders\r
96 set header_cache =~/.mutt/cache/headers\r
97 set message_cachedir =~/.mutt/cache/bodies\r
98 set certificate_file =~/.mutt/certificates\r
99 #SMTP Setup\r
100 set smtp_url = "smtp://xxx@mail.com@smtp.gmail.com:587/"\r
101 set smtp_pass = ""\r
102 \r
103 #Mutt Session Security\r
104 set move = no #Stop asking to "move read messages to mbox"!\r
105 set imap_keepalive = 900 # I had it in 120\r
106 \r
107 # Order received messages\r
108 set sort = reverse-date-received\r
109 set sort_aux = reverse-date-received\r
110 \r
111 \r
112 \r
113 --\r
114 View this message in context: http://notmuch.198994.n3.nabble.com/Notmuch-mutt-in-RaspberryPi-tp4033688.html\r
115 Sent from the notmuch mailing list archive at Nabble.com.\r