problem with outbound mail headers from Emacs
Jameson Graef Rollins
jrollins at finestructure.net
Wed Jul 4 12:07:59 PDT 2012
On Wed, Jul 04 2012, "Edwin, Camber, and Astor" <cstring at pobox.com> wrote:
> 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--
>
> --------------------------------------------------------
The broken user-agent string is a hint to me as to what's going on. The
Fcc dir is by default set relative to config database.path, which is
determined using notmuch-database-path. notmuch-database-path calls
notmuch-config-get, which uses shell-command-to-string to get the
config. And low and behold the only other place we use
shell-command-to-string is in notmuch-version, which is used to create
the user-agent string. So I'm guessing that shell-command-to-string is
not getting the message that you've added /usr/local/bin to the path
with exec-path.
What happens if you start emacs with /usr/local/bin already in the path,
e.g. (bash):
PATH=/usr/local/bin:$PATH emacs -f notmuch
?
jamie.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 835 bytes
Desc: not available
URL: <http://notmuchmail.org/pipermail/notmuch/attachments/20120704/077a335c/attachment.pgp>
More information about the notmuch
mailing list