sending email using different server for different 'From:' field
authorDavid Belohrad <david@belohrad.ch>
Tue, 2 Sep 2014 12:26:36 +0000 (14:26 +0200)
committerW. Trevor King <wking@tremily.us>
Fri, 7 Nov 2014 18:04:23 +0000 (10:04 -0800)
a3/2741c517e3df2b81d4bd2c407e2563d04133e2 [new file with mode: 0644]

diff --git a/a3/2741c517e3df2b81d4bd2c407e2563d04133e2 b/a3/2741c517e3df2b81d4bd2c407e2563d04133e2
new file mode 100644 (file)
index 0000000..a53ad7c
--- /dev/null
@@ -0,0 +1,72 @@
+Return-Path: <david@belohrad.ch>\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 7692E431FDA\r
+       for <notmuch@notmuchmail.org>; Tue,  2 Sep 2014 05:26:52 -0700 (PDT)\r
+X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
+X-Spam-Flag: NO\r
+X-Spam-Score: 0\r
+X-Spam-Level: \r
+X-Spam-Status: No, score=0 tagged_above=-999 required=5 tests=[none]\r
+       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 Oz8jJgA-7SA8 for <notmuch@notmuchmail.org>;\r
+       Tue,  2 Sep 2014 05:26:46 -0700 (PDT)\r
+Received: from server.belohrad.ch (static-212-101-19-163.adsl.solnet.ch\r
+       [212.101.19.163])\r
+       (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits))\r
+       (No client certificate requested)\r
+       by olra.theworths.org (Postfix) with ESMTPS id 266A4431FD2\r
+       for <notmuch@notmuchmail.org>; Tue,  2 Sep 2014 05:26:46 -0700 (PDT)\r
+Received: from beesknees.cern.ch.belohrad.ch (beesknees.cern.ch\r
+       [137.138.197.99])\r
+       (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits))\r
+       (No client certificate requested)\r
+       by server.belohrad.ch (Postfix) with ESMTPSA id C34B32C00B0;\r
+       Tue,  2 Sep 2014 14:27:16 +0200 (CEST)\r
+From: David Belohrad <david@belohrad.ch>\r
+To: <notmuch@notmuchmail.org>\r
+Subject: sending email using different server for different 'From:' field\r
+User-Agent: Notmuch/0.18~rc0+2~gbc64cdc (http://notmuchmail.org) Emacs/24.3.1\r
+       (x86_64-pc-linux-gnu)\r
+Date: Tue, 02 Sep 2014 14:26:36 +0200\r
+Message-ID: <uaxzjei1a4j.fsf@beesknees.cern.ch>\r
+MIME-Version: 1.0\r
+Content-Type: text/plain\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: Tue, 02 Sep 2014 12:26:52 -0000\r
+\r
+Dear All,\r
+\r
+I have my emacs/notmuch installation setup such, that I send the emails\r
+usually directly using local exim4 installation. For particular 'From:'\r
+field however I need to use my work server. Nowadays I do that\r
+manually. Hence if I write an email using my work address, I manually\r
+call a function switching the exim4 to work server. when the mail is\r
+sent, i manually set it back to exim.\r
+\r
+could that scenario be somehow fitted automatically, so when I overwrite\r
+the default 'From:' address (by hand. is it possible to do some\r
+automatic cycling?) to work address, so that message sender in emacs\r
+would automatically use work exchange server to deliver the mail?\r
+\r
+\r
+many thanks\r
+\r
+\r
+david\r
+\r
+\r