problems with Fcc through notmuch-command

classic Classic list List threaded Threaded
1 message Options
Giovanni Biscuolo Giovanni Biscuolo
Reply | Threaded
Open this post in threaded view
|

problems with Fcc through notmuch-command

Hello everybody,

I'm using Debian package elpa-notmuch [1] on my client and notmuch [2] on my
server, both versions are tagged 0.27-1~bpo9+2

I'm using the emacs interface remotely [3] so I set up the suggested wrapper
script on my client in ~/bin/notmuch (it's in my PATH): searching, tagging
and alike are working pretty well

I know I could use muchsync to keep all in sync and avoid using notmuch
remotely, but I have a central mailserver in my office and I would like to
avoid duplicating the database on all my workstations (I have a couple) in
my LAN

I'm trying to use Fcc through notmuch-command, so I configured my client as
suggested [3] and also configured notmuch-fcc-dirs [4], this is my client
configuration (just skipping saved searches in this snippet):

...............
(setq notmuch-crypto-process-mime t)                                                                                                                                                              
(setq notmuch-command "~/bin/notmuch")                                                                                                                                                            
                                                                                                                                                                                                 
(setq notmuch-fcc-dirs                                                                                                                                                                            
      '(("[hidden email]" . ".INBOX.private")
        ("[hidden email]" . ".")
        (".*" . ".")))

(setq message-directory "/var/mail/giovanni")
...............

when I start composing a new message Fcc: field is autocompleted with the
value ".INBOX.private" as configured

when I send the message, in the *Messages* emacs buffer I get:

.............
Sending via mail... [5]
Mark set
"/home/giovanni/.INBOX.private" does not exist, create it? (y or n) n
gnus-output-to-mail: Output file does not exist
..............

I'm sure database.path on my server is "/var/mail/giovanni"

it seems that my client is not using "notmuch insert" for the new message,
despite notmuch-maildir-use-notmuch-insert is set to true (the default)...
or my server simply ignores database.path (unlikely since all indexing is
running fine)

please am I missing something or did something wrong?

ciao
Giovanni

[1] https://packages.debian.org/stretch-backports/elpa-notmuch
[2] https://packages.debian.org/stretch-backports/notmuch
[3] https://notmuchmail.org/remoteusage/
[4] https://notmuchmail.org/emacstips/#index8h2
[5] should it be "Sending via notmuch insert"?

--
Giovanni Biscuolo
Xelera - IT infrastructures
http://xelera.eu/contact-us/

**per favore** Quota Bene: http://wiki.news.nic.it/QuotarBene
**please** use Inline Reply: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

_______________________________________________
notmuch mailing list
[hidden email]
https://notmuchmail.org/mailman/listinfo/notmuch

signature.asc (849 bytes) Download Attachment