unofficial mirror of notmuch@notmuchmail.org
 help / color / mirror / code / Atom feed
From: yquintero <yeison.quintero@spanishconnector.com>
To: notmuch@notmuchmail.org
Subject: Notmuch-mutt in RaspberryPi
Date: Tue, 7 Jul 2015 19:35:28 -0700 (MST)	[thread overview]
Message-ID: <1436322928169-4033688.post@n3.nabble.com> (raw)

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 "<enter-command>unset wait_key<enter><shell-escape>read -p
'notmuch query: ' x; echo \$x
>~/.cache/mutt_terms<enter><limit>~i \"\`notmuch search --output=messages
\$(cat ~/.cache/mutt_terms) | head -n 600 |
perl -le '@a=<>;chomp@a;s/\^id:// for@a;$,=\"|\";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 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.

             reply	other threads:[~2015-07-08  2:42 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-07-08  2:35 yquintero [this message]
2015-07-08 16:03 ` Notmuch-mutt in RaspberryPi David Bremner
2015-07-08 21:14   ` Yeison Quintero
2015-07-09 11:14     ` David Bremner
2015-07-09 22:24       ` Yeison Quintero
2015-07-10  5:40         ` David Bremner
2015-07-14  1:47           ` Yeison Quintero
2015-07-14  5:32             ` Andrei POPESCU

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://notmuchmail.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1436322928169-4033688.post@n3.nabble.com \
    --to=yeison.quintero@spanishconnector.com \
    --cc=notmuch@notmuchmail.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://yhetil.org/notmuch.git/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).