unofficial mirror of notmuch@notmuchmail.org
 help / color / mirror / code / Atom feed
* Notmuch-mutt in RaspberryPi
@ 2015-07-08  2:35 yquintero
  2015-07-08 16:03 ` David Bremner
  0 siblings, 1 reply; 8+ messages in thread
From: yquintero @ 2015-07-08  2:35 UTC (permalink / raw)
  To: notmuch

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.

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Notmuch-mutt in RaspberryPi
  2015-07-08  2:35 Notmuch-mutt in RaspberryPi yquintero
@ 2015-07-08 16:03 ` David Bremner
  2015-07-08 21:14   ` Yeison Quintero
  0 siblings, 1 reply; 8+ messages in thread
From: David Bremner @ 2015-07-08 16:03 UTC (permalink / raw)
  To: yquintero, notmuch

yquintero <yeison.quintero@spanishconnector.com> 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 "<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"
>

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.

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Notmuch-mutt in RaspberryPi
  2015-07-08 16:03 ` David Bremner
@ 2015-07-08 21:14   ` Yeison Quintero
  2015-07-09 11:14     ` David Bremner
  0 siblings, 1 reply; 8+ messages in thread
From: Yeison Quintero @ 2015-07-08 21:14 UTC (permalink / raw)
  To: David Bremner; +Cc: notmuch

[-- Attachment #1: Type: text/plain, Size: 2308 bytes --]

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!
<https://www.linkedin.com/company/spanish-connector>
 Estamos en Facebook. Like us!
<http://www.facebook.com/pages/Spanish-Connector/323815083493>
 Estamos en Twitter. Follow us! <http://twitter.com/@spanishconnectr>
<http://www.spanishconnector.com/>

2015-07-08 11:33 GMT-04:30 David Bremner <david@tethera.net>:

> yquintero <yeison.quintero@spanishconnector.com> 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 "<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"
> >
>
> 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.
>

[-- Attachment #2: Type: text/html, Size: 6833 bytes --]

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Notmuch-mutt in RaspberryPi
  2015-07-08 21:14   ` Yeison Quintero
@ 2015-07-09 11:14     ` David Bremner
  2015-07-09 22:24       ` Yeison Quintero
  0 siblings, 1 reply; 8+ messages in thread
From: David Bremner @ 2015-07-09 11:14 UTC (permalink / raw)
  To: Yeison Quintero; +Cc: notmuch

Yeison Quintero <yeison.quintero@spanishconnector.com> writes:

> Good afternoon David.
>
> Do you know somebody who understands the trouble?
>

As far as I can tell, the problem is that you haven't set up notmuch
properly before running notmuch-mutt.

d

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Notmuch-mutt in RaspberryPi
  2015-07-09 11:14     ` David Bremner
@ 2015-07-09 22:24       ` Yeison Quintero
  2015-07-10  5:40         ` David Bremner
  0 siblings, 1 reply; 8+ messages in thread
From: Yeison Quintero @ 2015-07-09 22:24 UTC (permalink / raw)
  To: David Bremner; +Cc: notmuch

[-- Attachment #1: Type: text/plain, Size: 1138 bytes --]

Good afternoon David.

I use mutt to send and receive emails in my linux shell, and I'm really
searching a plugin or macro to make words searching in the body of the
message in mutt.

If you can help me, I would feel grateful.

Thanks,


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!
<https://www.linkedin.com/company/spanish-connector>
 Estamos en Facebook. Like us!
<http://www.facebook.com/pages/Spanish-Connector/323815083493>
 Estamos en Twitter. Follow us! <http://twitter.com/@spanishconnectr>
<http://www.spanishconnector.com/>

2015-07-09 6:44 GMT-04:30 David Bremner <david@tethera.net>:

> Yeison Quintero <yeison.quintero@spanishconnector.com> writes:
>
> > Good afternoon David.
> >
> > Do you know somebody who understands the trouble?
> >
>
> As far as I can tell, the problem is that you haven't set up notmuch
> properly before running notmuch-mutt.
>
> d
>

[-- Attachment #2: Type: text/html, Size: 5437 bytes --]

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Notmuch-mutt in RaspberryPi
  2015-07-09 22:24       ` Yeison Quintero
@ 2015-07-10  5:40         ` David Bremner
  2015-07-14  1:47           ` Yeison Quintero
  0 siblings, 1 reply; 8+ messages in thread
From: David Bremner @ 2015-07-10  5:40 UTC (permalink / raw)
  To: Yeison Quintero; +Cc: notmuch

Yeison Quintero <yeison.quintero@spanishconnector.com> writes:

> Good afternoon David.
>
> I use mutt to send and receive emails in my linux shell, and I'm really
> searching a plugin or macro to make words searching in the body of the
> message in mutt.
>
> If you can help me, I would feel grateful.
>

I'm trying to help, but you didn't answer the questions I asked in my
first message.

1) Do you have the notmuch binary (e.g. /usr/bin/notmuch,
   /usr/local/bin/notmuch) installed? If not, install it.

2) run "notmuch setup" from the command line.

3) run "notmuch new" from the command line.

4) now try notmuch-mutt.

You will need to repeat step 3 (or learn about "notmuch insert" whenever
you have new mail delivered to the machine running notmuch-mutt.

d

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Notmuch-mutt in RaspberryPi
  2015-07-10  5:40         ` David Bremner
@ 2015-07-14  1:47           ` Yeison Quintero
  2015-07-14  5:32             ` Andrei POPESCU
  0 siblings, 1 reply; 8+ messages in thread
From: Yeison Quintero @ 2015-07-14  1:47 UTC (permalink / raw)
  To: David Bremner; +Cc: notmuch

[-- Attachment #1: Type: text/plain, Size: 1579 bytes --]

Good evening David.

Please send to me the steps to install and configure notmuch-mutt. I
already have mutt instaled in my OS.

Thanks,

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!
<https://www.linkedin.com/company/spanish-connector>
 Estamos en Facebook. Like us!
<http://www.facebook.com/pages/Spanish-Connector/323815083493>
 Estamos en Twitter. Follow us! <http://twitter.com/@spanishconnectr>
<http://www.spanishconnector.com/>

2015-07-10 1:10 GMT-04:30 David Bremner <david@tethera.net>:

> Yeison Quintero <yeison.quintero@spanishconnector.com> writes:
>
> > Good afternoon David.
> >
> > I use mutt to send and receive emails in my linux shell, and I'm really
> > searching a plugin or macro to make words searching in the body of the
> > message in mutt.
> >
> > If you can help me, I would feel grateful.
> >
>
> I'm trying to help, but you didn't answer the questions I asked in my
> first message.
>
> 1) Do you have the notmuch binary (e.g. /usr/bin/notmuch,
>    /usr/local/bin/notmuch) installed? If not, install it.
>
> 2) run "notmuch setup" from the command line.
>
> 3) run "notmuch new" from the command line.
>
> 4) now try notmuch-mutt.
>
> You will need to repeat step 3 (or learn about "notmuch insert" whenever
> you have new mail delivered to the machine running notmuch-mutt.
>
> d
>
>

[-- Attachment #2: Type: text/html, Size: 5967 bytes --]

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Notmuch-mutt in RaspberryPi
  2015-07-14  1:47           ` Yeison Quintero
@ 2015-07-14  5:32             ` Andrei POPESCU
  0 siblings, 0 replies; 8+ messages in thread
From: Andrei POPESCU @ 2015-07-14  5:32 UTC (permalink / raw)
  To: Yeison Quintero; +Cc: notmuch

[-- Attachment #1: Type: text/plain, Size: 1153 bytes --]

On Lu, 13 iul 15, 21:17:59, Yeison Quintero wrote:
> Good evening David.
> 
> Please send to me the steps to install and configure notmuch-mutt. I
> already have mutt instaled in my OS.

Dear Yeison,

Mutt and notmuch are independent programs. notmuch-mutt is just the 
"glue" to connect them. Before you can make it work you must configure 
notmuch as per David's instructions (below).

> 2015-07-10 1:10 GMT-04:30 David Bremner <david@tethera.net>:
> 
> > I'm trying to help, but you didn't answer the questions I asked in my
> > first message.
> >
> > 1) Do you have the notmuch binary (e.g. /usr/bin/notmuch,
> >    /usr/local/bin/notmuch) installed? If not, install it.
> >
> > 2) run "notmuch setup" from the command line.
> >
> > 3) run "notmuch new" from the command line.
> >
> > 4) now try notmuch-mutt.
> >
> > You will need to repeat step 3 (or learn about "notmuch insert" whenever
> > you have new mail delivered to the machine running notmuch-mutt.

Kind regards,
Andrei
-- 
If you can't explain it simply, you don't understand it well enough.
(Albert Einstein)
http://nuvreauspam.ro/gpg-transition.txt

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 819 bytes --]

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2015-07-14  5:32 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-07-08  2:35 Notmuch-mutt in RaspberryPi yquintero
2015-07-08 16:03 ` 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

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).