#217 ✓fixcommitted
Alan Schmitt

From address taken from currently selected message

Reported by Alan Schmitt | January 17th, 2012 @ 09:24 AM

I just noticed something strange. I created a new message (⌘N), and saw that the From address chosen was taken from the currently selected message. It was set to jeux-societe@listes.irisa.fr

What's even stranger is that, if I reply to the currently selected message, then the identity is correctly set.

I would expect that new messages be always created with a default identity.

Here are the headers of the currently selected message.

Return-Path: jeux-societe-owner@listes.irisa.fr
Received: from zfront2.inria.fr (LHLO zfront2.inria.fr) (193.51.193.148) by
 zmbs2.inria.fr with LMTP; Tue, 17 Jan 2012 09:51:15 +0100 (CET)
Received: from mail4-relais-sop.national.inria.fr (mail4-relais-sop.national.inria.fr [192.134.164.105])
    by zfront2.inria.fr (Postfix) with ESMTPS id DE7B02480A8;
    Tue, 17 Jan 2012 09:53:40 +0100 (CET)
X-IronPort-AV: E=Sophos;i="4.71,522,1320620400"; 
   d="scan'208";a="127607250"
Received: from listes.irisa.fr ([131.254.254.47])
  by mail4-relais-sop.national.inria.fr with ESMTP; 17 Jan 2012 09:53:40 +0100
Received: by listes.irisa.fr (Postfix, from userid 108)
    id 186402EA5D4; Tue, 17 Jan 2012 09:53:40 +0100 (CET)
X-Original-To: jeux-societe@listes.irisa.fr
Delivered-To: jeux-societe@listes.irisa.fr
Received: from mail1-relais-roc.national.inria.fr (mail1-relais-roc.national.inria.fr [192.134.164.82])
    by listes.irisa.fr (Postfix) with ESMTP id 4AB022EA5D4
    for <jeux-societe@listes.irisa.fr>; Tue, 17 Jan 2012 09:53:37 +0100 (CET)
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: AngBAA42FU9KfVI1imdsb2JhbABEoWYCAYpRfggiAQEBCgkNBxIGIYILAiQIARIYDQIDDQUmFhgDAgECASIBBQEiDQgBAR6HYJZDgl4KjlmEdIkwAgULiR4CAQEFAwQNBQsEAgQBBQIOBgUoJQEBAQEBAgECAQIBAQEBAhYVAwEGDAcCAgMdAwEGCQIBDQEBAwsCCwILAwEBCYIvAoMpBJURhVGBN4cCPYFNgi4
X-IronPort-AV: E=Sophos;i="4.71,522,1320620400"; 
   d="scan'208";a="140074907"
Received: from mail-ww0-f53.google.com ([74.125.82.53])
  by mail1-smtp-roc.national.inria.fr with ESMTP/TLS/RC4-SHA; 17 Jan 2012 09:53:36 +0100
Received: by wgbds1 with SMTP id ds1so1355263wgb.22
        for <jeux-societe@listes.irisa.fr>; Tue, 17 Jan 2012 00:53:36 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=gmail.com; s=gamma;
        h=sender:message-id:date:from:user-agent:mime-version:to:subject
         :content-type:content-transfer-encoding;
        bh=qlhVQk82ND6bY1HP6dHH94eD476GbU0oh8fwPmNk5gI=;
        b=N25vfPpzdP/x8FirpTOd5Ro3p3LiGzZWA4URlTqNbeaNsVuwp6PgKErBeNM5JIaRcA
         Ye24C2ucVDxrUKFCyc1wVGymabc8weh8cKaaAcwbY3it9ZHp9oukLl+emaLAoCfQ9Phw
         iuB36C/Kk6/4hRmx4pR9452Aa39nZfpUSJ6Q4=
Received: by 10.180.87.100 with SMTP id w4mr76453wiz.13.1326790416667;
        Tue, 17 Jan 2012 00:53:36 -0800 (PST)
Received: from [131.254.14.245] (suba2.irisa.fr. [131.254.14.245])
        by mx.google.com with ESMTPS id r1sm15481418wia.8.2012.01.17.00.53.34
        (version=TLSv1/SSLv3 cipher=OTHER);
        Tue, 17 Jan 2012 00:53:34 -0800 (PST)
Sender: Marwan Badawi <marwan.badawi@gmail.com>
Message-ID: <4F15370D.8080603@inria.fr>
Date: Tue, 17 Jan 2012 09:53:33 +0100
From: Marwan Badawi <Marwan.Badawi@inria.fr>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:8.0) Gecko/20111105 Thunderbird/8.0
MIME-Version: 1.0
To: Jeux Societe <jeux-societe@listes.irisa.fr>
Subject: [Jeux/pizza] 17 Janvier
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
X-Loop: jeux-societe@listes.irisa.fr
X-Sequence: 3
Errors-to: jeux-societe-owner@listes.irisa.fr
Precedence: list
X-no-archive: yes
List-Id: <jeux-societe.listes.irisa.fr>
List-Help: <mailto:sympa@listes.irisa.fr?subject=help>
List-Subscribe: <mailto:sympa@listes.irisa.fr?subject=subscribe%20jeux-societe>
List-Unsubscribe: <mailto:sympa@listes.irisa.fr?subject=unsubscribe%20jeux-societe>
List-Post: <mailto:jeux-societe@listes.irisa.fr>
List-Owner: <mailto:jeux-societe-request@listes.irisa.fr>
List-Archive: <http://listes.irisa.fr/wws/arc/jeux-societe>

Comments and changes to this ticket

  • benny

    benny January 18th, 2012 @ 09:26 AM

    • State changed from “new” to “fixcommitted”
    • Assigned user set to “benny”

    For new messages MailMate tries to derive the from address from the current context, e.g., a selected message. In this case it failed, because I had not used the same code for replies and new messages when scanning delivery headers. For your example message MailMate based the From address on:

    X-Original-To: jeux-societe@listes.irisa.fr
    

    A header which comes after (before in time) a Received header and therefore should be ignored as it is for the reply heuristic (#202).

    Thanks for noticing this. There is no test build with the fix yet.

  • Alan Schmitt

    Alan Schmitt January 18th, 2012 @ 01:11 PM

    Working great in the last build, thanks.

  • benny

    benny March 21st, 2012 @ 04:40 PM

    • State changed from “fixcommitted” to “fixreleased”

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป

Mac OS X email client.

Shared Ticket Bins

People watching this ticket

Pages