problem with outbound mail headers from Emacs
authorEdwin, Camber, and Astor <cstring@pobox.com>
Wed, 4 Jul 2012 14:25:03 +0000 (07:25 +1700)
committerW. Trevor King <wking@tremily.us>
Fri, 7 Nov 2014 17:47:59 +0000 (09:47 -0800)
9f/2b3f8ba60b2e484364f1343130faca6aef8239 [new file with mode: 0644]

diff --git a/9f/2b3f8ba60b2e484364f1343130faca6aef8239 b/9f/2b3f8ba60b2e484364f1343130faca6aef8239
new file mode 100644 (file)
index 0000000..cebc6ff
--- /dev/null
@@ -0,0 +1,113 @@
+Return-Path: <cstring@pobox.com>\r
+X-Original-To: notmuch@notmuchmail.org\r
+Delivered-To: notmuch@notmuchmail.org\r
+Received: from localhost (localhost [127.0.0.1])\r
+       by olra.theworths.org (Postfix) with ESMTP id 299FC431FB6\r
+       for <notmuch@notmuchmail.org>; Wed,  4 Jul 2012 07:25:10 -0700 (PDT)\r
+X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
+X-Spam-Flag: NO\r
+X-Spam-Score: -0.1\r
+X-Spam-Level: \r
+X-Spam-Status: No, score=-0.1 tagged_above=-999 required=5\r
+       tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1,\r
+       RCVD_IN_DNSWL_NONE=-0.0001] autolearn=disabled\r
+Received: from olra.theworths.org ([127.0.0.1])\r
+       by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)\r
+       with ESMTP id CcWVxvvWadwJ for <notmuch@notmuchmail.org>;\r
+       Wed,  4 Jul 2012 07:25:06 -0700 (PDT)\r
+Received: from smtp.pobox.com (b-pb-sasl-quonix.pobox.com [208.72.237.35])\r
+       by olra.theworths.org (Postfix) with ESMTP id 67365431FAE\r
+       for <notmuch@notmuchmail.org>; Wed,  4 Jul 2012 07:25:06 -0700 (PDT)\r
+Received: from smtp.pobox.com (unknown [127.0.0.1])\r
+       by b-sasl-quonix.pobox.com (Postfix) with ESMTP id CD9476ECC\r
+       for <notmuch@notmuchmail.org>; Wed,  4 Jul 2012 10:25:05 -0400 (EDT)\r
+DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=pobox.com; h=from\r
+       :content-type:content-transfer-encoding:subject:date:message-id\r
+       :to:mime-version; s=sasl; bh=OQvXrbhz6Fnj23DEZIi5JoY1OGA=; b=PKc\r
+       g8+HJ9rivPPo5be8Q00ho2GIMKtKZr8idXOlNPLye1afbVI577Xj8wUo8gIFLAVg\r
+       7T5tbGRW1Wz74LS5Nrx+S1cNRWVuYUFrrGlyCGX8+bpo3TSfZHINtJ9JzDG8u2JA\r
+       wt2KSD54gw6iHMBfseJ0jC7hp3rQ960OtFJm5wxw=\r
+DomainKey-Signature: a=rsa-sha1; c=nofws; d=pobox.com; h=from\r
+       :content-type:content-transfer-encoding:subject:date:message-id\r
+       :to:mime-version; q=dns; s=sasl; b=Oax2EyhN88TCBZAcqe5yARFqO7hmp\r
+       ds36CrdDPDnbwRXaNww7EV6Yw5CD4PPFxIjqie32NcskdJ7hdivQj1PH6jBO4irg\r
+       024mabFVPTqHU3OR4dxwNd7sxGyuPCgPLGbrhqOucGzAWLGTtJ1kUXJjYfL2x0dJ\r
+       BGVXAob158Ggho=\r
+Received: from b-pb-sasl-quonix.pobox.com (unknown [127.0.0.1])\r
+       by b-sasl-quonix.pobox.com (Postfix) with ESMTP id C3FF86ECB\r
+       for <notmuch@notmuchmail.org>; Wed,  4 Jul 2012 10:25:05 -0400 (EDT)\r
+Received: from [192.168.1.248] (unknown [216.9.31.86]) (using TLSv1 with\r
+       cipher AES128-SHA (128/128 bits)) (No client certificate requested) by\r
+       b-sasl-quonix.pobox.com (Postfix) with ESMTPSA id 60B386EC5 for\r
+       <notmuch@notmuchmail.org>; Wed,  4 Jul 2012 10:25:04 -0400 (EDT)\r
+From: "Edwin, Camber, and Astor" <cstring@pobox.com>\r
+Content-Type: text/plain; charset=us-ascii\r
+Content-Transfer-Encoding: quoted-printable\r
+Subject: problem with outbound mail headers from Emacs\r
+Date: Wed, 4 Jul 2012 07:25:03 -0700\r
+Message-Id: <29E3AFF3-000F-4831-9709-570B69239FB5@pobox.com>\r
+To: notmuch@notmuchmail.org\r
+Mime-Version: 1.0 (Apple Message framework v1084)\r
+X-Mailer: Apple Mail (2.1084)\r
+X-Pobox-Relay-ID:\r
+ 0C286DA8-C5E4-11E1-BB50-FC762E706CDE-08492954!b-pb-sasl-quonix.pobox.com\r
+X-Mailman-Approved-At: Wed, 04 Jul 2012 10:26:02 -0700\r
+X-BeenThere: notmuch@notmuchmail.org\r
+X-Mailman-Version: 2.1.13\r
+Precedence: list\r
+List-Id: "Use and development of the notmuch mail system."\r
+       <notmuch.notmuchmail.org>\r
+List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
+       <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
+List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
+List-Post: <mailto:notmuch@notmuchmail.org>\r
+List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
+List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
+       <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
+X-List-Received-Date: Wed, 04 Jul 2012 14:25:10 -0000\r
+\r
+I've installed notmuch on my OS X computer and it seems to work fine.  I =\r
+can search, filter, tag, etc. mail successfully.  However, when notmuch =\r
+is loaded, sending mail doesn't work correctly any more.  The headers I =\r
+see after C-x m are:\r
+\r
+-------------------------------------------------------------\r
+\r
+From: /bin/bash: notmuch: command not found </bin/bash: notmuch: command =\r
+not found>\r
+To:=20\r
+Subject:=20\r
+User-Agent: Notmuch/unknown (http://notmuchmail.org) Emacs/23.4.1 =\r
+(x86_64-apple-darwin)\r
+Fcc: /bin/bash: notmuch: command not found/sent\r
+--text follows this line--\r
+\r
+\r
+--------------------------------------------------------\r
+\r
+If I comment out the "(require 'notmuch)" line in my .emacs, the "From" =\r
+line is populated correctly and the "Fcc" line is omitted, which I think =\r
+is the normal behavior.\r
+\r
+It looks like there's a problem with the path.  But notmuch seems to be =\r
+on the path since all the other notmuch operations work just fine.  =\r
+notmuch is installed in /usr/local/bin and I have:=20\r
+\r
+(add-to-list 'exec-path "/usr/local/bin")\r
+\r
+in my .emacs file, which I think is one of the recommended ways to set =\r
+the path on OS X.\r
+\r
+I poked around email archive and thought that setting notmuch-fcc-dirs =\r
+might help.  I tried setting it, and it didn't seem to have any effect, =\r
+as the behavior was the same.\r
+\r
+I'm using notmuch compiled from source on 7/3/2012, OS X 10.6.8, and =\r
+Emacs.App 23.4.1.  I have a very similar setup at work, which works =\r
+fine, so I'm perplexed about what is wrong here.\r
+\r
+\r
+Thanks,\r
+--Ed Tellman\r
+etellman@pobox.com\r
+\r