From: Jinwoo Lee Date: Sun, 20 Dec 2015 19:32:32 +0000 (+1600) Subject: emacs: Wrong "From" address when forwarding a mail X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=f6cd0fefdb8aa869145d5dc9db25823543a5b25e;p=notmuch-archives.git emacs: Wrong "From" address when forwarding a mail --- diff --git a/7b/d0b3eea972929472022913f95203822ee55ebe b/7b/d0b3eea972929472022913f95203822ee55ebe new file mode 100644 index 000000000..c1d691fb8 --- /dev/null +++ b/7b/d0b3eea972929472022913f95203822ee55ebe @@ -0,0 +1,89 @@ +Return-Path: +X-Original-To: notmuch@notmuchmail.org +Delivered-To: notmuch@notmuchmail.org +Received: from localhost (localhost [127.0.0.1]) + by arlo.cworth.org (Postfix) with ESMTP id 8F6526DE0BF6 + for ; Sun, 20 Dec 2015 11:32:36 -0800 (PST) +X-Virus-Scanned: Debian amavisd-new at cworth.org +X-Spam-Flag: NO +X-Spam-Score: -0.562 +X-Spam-Level: +X-Spam-Status: No, score=-0.562 tagged_above=-999 required=5 + tests=[AWL=-0.011, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, + DKIM_VALID_AU=-0.1, FREEMAIL_ENVFROM_END_DIGIT=0.25, + FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H2=-0.001, + SPF_PASS=-0.001] autolearn=disabled +Received: from arlo.cworth.org ([127.0.0.1]) + by localhost (arlo.cworth.org [127.0.0.1]) (amavisd-new, port 10024) + with ESMTP id KW7KBeKchoM4 for ; + Sun, 20 Dec 2015 11:32:34 -0800 (PST) +Received: from mail-pa0-f67.google.com (mail-pa0-f67.google.com + [209.85.220.67]) + by arlo.cworth.org (Postfix) with ESMTPS id 689BF6DE0244 + for ; Sun, 20 Dec 2015 11:32:34 -0800 (PST) +Received: by mail-pa0-f67.google.com with SMTP id jx14so6362034pad.3 + for ; Sun, 20 Dec 2015 11:32:34 -0800 (PST) +DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; + h=from:to:subject:user-agent:date:message-id:mime-version + :content-type; bh=NoDgYDL9rv4G/wKklfkV7W9jtyUt4FEKE9yMbOse5NE=; + b=bSDsmQD2aNY52D/t3D7HZ/CiJVWD9hercl/Pw4M7irzRYlaEVVlRu9Uw4Oq19XSbm1 + iV0VIGyDkuZSyenjpza4XeDUPSHyQfu9WOVAHD+KrWYyLdpiPh0Q0zgdLSHUm/HPFm9N + BZPBdyeodyZRqBljHm14E0Y9+PR5Szeix0+EDUatBLxjfMRpJZXU1qSLJUNgAaU8GCVK + qg+eym5FbWc7pzuP7BTpfxKKIGDtXcQsG4+XEDSp5JUwz1qBQg8sCCZhKcl00V6WiNY+ + +c/IfvNUKZnMLUqX6DfmCz1d0IgufIMn6eNsqX8dAs/4Kx6mnxy21tUyn+HcI0xNizu+ + z3qw== +X-Received: by 10.66.248.74 with SMTP id yk10mr21378492pac.17.1450639953905; + Sun, 20 Dec 2015 11:32:33 -0800 (PST) +Received: from jinwoo-macbookair.roam.corp.google.com.gmail.com + ([2601:647:4b02:71ea:785e:95e4:323:cc87]) + by smtp.gmail.com with ESMTPSA id f89sm29931323pfd.10.2015.12.20.11.32.33 + for + (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); + Sun, 20 Dec 2015 11:32:33 -0800 (PST) +From: Jinwoo Lee +To: notmuch@notmuchmail.org +Subject: emacs: Wrong "From" address when forwarding a mail +User-Agent: Notmuch/0.21+26~g8881a61 (http://notmuchmail.org) Emacs/24.5.1 + (x86_64-apple-darwin15.0.0) +Date: Sun, 20 Dec 2015 11:32:32 -0800 +Message-ID: +MIME-Version: 1.0 +Content-Type: text/plain +X-BeenThere: notmuch@notmuchmail.org +X-Mailman-Version: 2.1.20 +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: Sun, 20 Dec 2015 19:32:36 -0000 + +I have two accounts set up in my notmuch configuration. And when I'm +forwarding a mail using notmuch-show-forward-message, it always uses my +primary account as its From address no matter which account that +original mail has been delivered to. + +For example: +1. I got a mail delivered to my personal address, personal@somemail.com, + which is my secondary account. +2. I want to forward the mail to someone else and I press 'f' for + notmuch-show-forward-message. +3. It always uses my corp address, corp@somecompany.com, which is my + primary account, as the From address, instead of + personal@somemail.com. + +This is quite annoying and has some privacy issues because my corporate +account may be scanned by my employer. I'm working around this by doing +'C-u f', which allows me to choose the From address, but it's very easy +to just press 'f' and make a mistake. + +Can we make notmuch-show-forward-message behave like +notmuch-show-reply-sender, which chooses the From address correctly? + +Thanks, +-jinwoo