problem with outbound mail headers from Emacs

Edwin, Camber, and Astor cstring at pobox.com
Wed Jul 4 07:25:03 PDT 2012


I've installed notmuch on my OS X computer and it seems to work fine.  I can search, filter, tag, etc. mail successfully.  However, when notmuch is loaded, sending mail doesn't work correctly any more.  The headers I see after C-x m are:

-------------------------------------------------------------

From: /bin/bash: notmuch: command not found </bin/bash: notmuch: command not found>
To: 
Subject: 
User-Agent: Notmuch/unknown (http://notmuchmail.org) Emacs/23.4.1 (x86_64-apple-darwin)
Fcc: /bin/bash: notmuch: command not found/sent
--text follows this line--


--------------------------------------------------------

If I comment out the "(require 'notmuch)" line in my .emacs, the "From" line is populated correctly and the "Fcc" line is omitted, which I think is the normal behavior.

It looks like there's a problem with the path.  But notmuch seems to be on the path since all the other notmuch operations work just fine.  notmuch is installed in /usr/local/bin and I have: 

(add-to-list 'exec-path "/usr/local/bin")

in my .emacs file, which I think is one of the recommended ways to set the path on OS X.

I poked around email archive and thought that setting notmuch-fcc-dirs might help.  I tried setting it, and it didn't seem to have any effect, as the behavior was the same.

I'm using notmuch compiled from source on 7/3/2012, OS X 10.6.8, and Emacs.App 23.4.1.  I have a very similar setup at work, which works fine, so I'm perplexed about what is wrong here.


Thanks,
--Ed Tellman
etellman at pobox.com



More information about the notmuch mailing list