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