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 5D5036DE025E for ; Tue, 7 Jul 2015 19:14:27 -0700 (PDT) X-Virus-Scanned: Debian amavisd-new at cworth.org X-Spam-Flag: NO X-Spam-Score: 0.264 X-Spam-Level: X-Spam-Status: No, score=0.264 tagged_above=-999 required=5 tests=[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, WEIRD_PORT=0.001] 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 JkNFHSwqtG10 for ; Tue, 7 Jul 2015 19:14:24 -0700 (PDT) Received: from mail-la0-f46.google.com (mail-la0-f46.google.com [209.85.215.46]) by arlo.cworth.org (Postfix) with ESMTPS id 7DF6B6DE00DD for ; Tue, 7 Jul 2015 19:14:22 -0700 (PDT) Received: by lagx9 with SMTP id x9so215779467lag.1 for ; Tue, 07 Jul 2015 19:14:20 -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:date:message-id:subject:from:to :content-type; bh=Idg9AAZbhV2/4dJ8FbwrFqVnbRUxrl/g5e1rPBj/8hI=; b=NEmD40sgiSFgKMDhxTGT8qcw+y+1k2Cv4/WBKB3U1JeICVG0habIi5qpW7eel5KWvp Zo5pQTTF+YD2yg8g+LIWJPSjAHQVS2oD3fp9wfemDozV/HXy5hhyiyxCMLxHElCz4Z9e 4dJx/P4Ivk7hDqGc3D6+4l/wqRqX9wFdnBj1mdB/tgBemBnUk1utP9F7XufjP39jE2op ejrkijyC0vwC5FqPerdzbSjYi6iOgbFOTL9uvigBrTHq6zMVp+jd/hFtHef58wkkSPBj Qf+lPLLe/JEvGt29mBDxX5PAvl8v+NmiNGbEbSefzzJTrTbcM7+AHSgBJQLBmQeeStN5 5Ugw== X-Gm-Message-State: ALoCoQmbqmrlw9uYx4WIkdwXGCUirjNBjGeHlrcvdYwmw9A2Kjkuy4Yx0dn6LCEa4ZsWnMbpFI3t MIME-Version: 1.0 X-Received: by 10.112.166.2 with SMTP id zc2mr6738657lbb.29.1436321658750; Tue, 07 Jul 2015 19:14:18 -0700 (PDT) Received: by 10.25.87.66 with HTTP; Tue, 7 Jul 2015 19:14:18 -0700 (PDT) X-Originating-IP: [186.90.219.162] Date: Tue, 7 Jul 2015 21:44:18 -0430 Message-ID: Subject: Mutt trouble with RaspberryPi From: Yeison Quintero To: notmuch@notmuchmail.org Content-Type: multipart/alternative; boundary=001a11c383bc40e1f9051a53b239 X-Mailman-Approved-At: Wed, 08 Jul 2015 08:12:28 -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:14:27 -0000 --001a11c383bc40e1f9051a53b239 Content-Type: text/plain; charset=UTF-8 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 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! --001a11c383bc40e1f9051a53b239 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Good evenning.

I have a trouble, when I configure notmuch-mutt in my RaspberryPi. I ha= ve been searching the solution to the following code:

Warn= ing: failed to open directory /home/pi/mail: No such file or directory
Found 0 total f= iles (that's not much mail).
Error: Cannot create database at /home/pi/mail: No su= ch file or directory.

Firstly I apply these steps before t= o run notmuch-mutt

1).- I add the macros:=

# 'L' performs a notmuch query, showing only the= results
ma= cro index L "<enter-command>unset wait_key<enter><shell= -escape>read -p 'notmuch query: ' x; echo \$x
>~/.cache/mutt_terms<en= ter><limit>~i \"\`notmuch search --output=3Dmessages \$(cat ~= /.cache/mutt_terms) | head -n 600 |
perl -le '@a=3D<>;chomp@a;s/\^id:// for@= a;$,=3D\"|\";print@a'\`\"<enter>" "show = only messages matching a notmuch pattern"

# 'a' shows all messages again = (supersedes default <alias> 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 e= rror does not show" but when I try the find with "L" with .m= uttrc the system shows "empty exception"

.muttrc=
# Sets up = mail box in your home folder
set mbox_type=3Dmaildir
set mbox=3D"~/mail/inbox/"=
set spoolfile=3D&= quot;~/mail/inbox/"
set folder=3D"~/mail/"
set record=3D"~/mail/sent/"
set postpone= d=3D"~/mail/postponed/"

#Gmail account info
set from =3D &q= uot;xxxx@mail.com"
set realname =3D "Pe= dro Perez"
set imap_user =3D "xxx@mail.com"
se= t imap_pass =3D ""

# Folders
# Remote Folders
set folder =3D "ima= ps://
imap.gmail.com:993"
set spoolfile = =3D "+INBOX"
set postponed =3D"+[Gmail]/Drafts"
# Local Folders
set header_cache =3D~/.m= utt/cache/headers
set message_cachedir =3D~/.mutt/cache/bodies
set certificate_file =3D~/.mutt/ce= rtificates
= #SMTP Setup
set smtp_url =3D "smtp://xxx@mail.com@smtp.gmail.com:587/"
set smtp_pass =3D ""


#Mutt Session Security
set move =3D no #Stop asking to "move read messages to m= box"!
= set imap_keepalive =3D 900 # I had it in 120

# Order recei= ved messages
set sort =3D reverse-date-received
set sort_aux =3D reverse-date-received

Yeison Quintero
System Administrator
Spanish Con= nector L.L.C
Venezuela
Phone:<= /font>=C2=A0
1-404-480-9188
=C2=A0Ext.=C2=A0
801= 2
=C2=A0
(US)=C2=A0=C2=A0/ =C2=A058
-
243
-<= /div>242
-
0470= =C2=A0(Venezuela)=C2=A0

Skype ID:=C2=A0spanishconnector.yeison1Website:=C2=A0www.spanishconnector.com
<= img src=3D"http://i833.photobucket.com/albums/zz257/spanishconnector/icon_s= m_facebook.gif" alt=3D"">=C2=A0Estamos en Facebook. Like us!=
3D""
--001a11c383bc40e1f9051a53b239--