From 6437913c11825f527fa2e8fc714a56f9a1bc23e1 Mon Sep 17 00:00:00 2001 From: yquintero Date: Wed, 8 Jul 2015 19:35:28 +1700 Subject: [PATCH] Notmuch-mutt in RaspberryPi --- 70/5014b2403543b53fb1dd81dae979795cdf95a7 | 115 ++++++++++++++++++++++ 1 file changed, 115 insertions(+) create mode 100644 70/5014b2403543b53fb1dd81dae979795cdf95a7 diff --git a/70/5014b2403543b53fb1dd81dae979795cdf95a7 b/70/5014b2403543b53fb1dd81dae979795cdf95a7 new file mode 100644 index 000000000..c825e8880 --- /dev/null +++ b/70/5014b2403543b53fb1dd81dae979795cdf95a7 @@ -0,0 +1,115 @@ +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 BD1876DE025E + for ; Tue, 7 Jul 2015 19:42:32 -0700 (PDT) +X-Virus-Scanned: Debian amavisd-new at cworth.org +X-Spam-Flag: NO +X-Spam-Score: 2.285 +X-Spam-Level: ** +X-Spam-Status: No, score=2.285 tagged_above=-999 required=5 + tests=[SPF_SOFTFAIL=0.972, URI_HEX=1.313] 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 1pxUOAmMzb6K for ; + Tue, 7 Jul 2015 19:42:29 -0700 (PDT) +X-Greylist: delayed 419 seconds by postgrey-1.35 at arlo; + Tue, 07 Jul 2015 19:42:29 PDT +Received: from mwork.nabble.com (mwork.nabble.com [162.253.133.43]) + by arlo.cworth.org (Postfix) with ESMTP id 550706DE00DD + for ; Tue, 7 Jul 2015 19:42:29 -0700 (PDT) +Received: from mben.nabble.com (unknown [162.253.133.72]) + by mwork.nabble.com (Postfix) with ESMTP id 4F7A622E778B + for ; Tue, 7 Jul 2015 19:35:29 -0700 (PDT) +Date: Tue, 7 Jul 2015 19:35:28 -0700 (MST) +From: yquintero +To: notmuch@notmuchmail.org +Message-ID: <1436322928169-4033688.post@n3.nabble.com> +Subject: Notmuch-mutt in RaspberryPi +MIME-Version: 1.0 +Content-Type: text/plain; charset=us-ascii +Content-Transfer-Encoding: 7bit +X-Mailman-Approved-At: Wed, 08 Jul 2015 08:12:29 -0700 +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 02:42:32 -0000 + +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. + +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" + +.muttrc +# Sets up mail box in your home folder +set mbox_type=maildir +set mbox="~/mail/inbox/" +set spoolfile="~/mail/inbox/" +set folder="~/mail/" +set record="~/mail/sent/" +set postponed="~/mail/postponed/" + +#Gmail account info +set from = "xxxx@mail.com" +set realname = "Pedro Perez" +set imap_user = "xxx@mail.com" +set imap_pass = "" + +# Folders +# Remote Folders +set folder = "imaps://imap.gmail.com:993" +set spoolfile = "+INBOX" +set postponed ="+[Gmail]/Drafts" +# Local Folders +set header_cache =~/.mutt/cache/headers +set message_cachedir =~/.mutt/cache/bodies +set certificate_file =~/.mutt/certificates +#SMTP Setup +set smtp_url = "smtp://xxx@mail.com@smtp.gmail.com:587/" +set smtp_pass = "" + +#Mutt Session Security +set move = no #Stop asking to "move read messages to mbox"! +set imap_keepalive = 900 # I had it in 120 + +# Order received messages +set sort = reverse-date-received +set sort_aux = reverse-date-received + + + +-- +View this message in context: http://notmuch.198994.n3.nabble.com/Notmuch-mutt-in-RaspberryPi-tp4033688.html +Sent from the notmuch mailing list archive at Nabble.com. -- 2.26.2