After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 597473 - Reply-all composes reply to wrong address if that wrong address is also set up as an account in Evolution
Reply-all composes reply to wrong address if that wrong address is also set u...
Status: RESOLVED OBSOLETE
Product: evolution
Classification: Applications
Component: Mailer
2.26.x (obsolete)
Other Linux
: Normal normal
: ---
Assigned To: evolution-mail-maintainers
Evolution QA team
evolution[composer]
: 446152 617889 621776 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2009-10-05 20:45 UTC by dave
Modified: 2021-05-19 12:28 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
message which exhibits the bug (2.12 KB, text/plain)
2009-10-05 20:45 UTC, dave
  Details
proposed evo patch (802 bytes, patch)
2009-10-12 11:53 UTC, Milan Crha
needs-work Details | Review

Description dave 2009-10-05 20:45:39 UTC
Created attachment 144840 [details]
message which exhibits the bug

My email address is dave@sr71.net.  My brother's is mike@sr71.net.  Whenever I
Reply-All to a message of his, evolution always puts "To: Dave Hansen
<dave@sr71.net>" and not "To: Mike Hansen <mike@sr71.net>". 

* Plain 'Reply' seems to work OK.
* There are no Reply-To: headers.  Just a normal From:
* This only seems to happen with mails from this one person.
* Other mail clients do not exhibit this behavior

Is there some heuristic that looks for similar email addresses in the
reply-to-all code that could perhaps be getting our very similar email
addresses confused?
Comment 1 Milan Crha 2009-10-08 10:20:17 UTC
Thanks for the bug report and test data. Very appreciated. I just tried with your message and "reply to all" works fine on 2.28.0, the To: field in a composer is filled with Mike, not Dave, for me.

One thing I can think of: do you have set your brother's email account in evolution too, or only yours? Evolution is searching for the configured account, which belongs to the person from addresses, and it uses that account for From field, and removes the email from the list for To/Cc fields. So what is your From here?
Comment 2 dave 2009-10-08 16:02:52 UTC
(In reply to comment #1)
> One thing I can think of: do you have set your brother's email account in
> evolution too, or only yours? Evolution is searching for the configured
> account, which belongs to the person from addresses, and it uses that account
> for From field, and removes the email from the list for To/Cc fields. So what
> is your From here?

Heh.  I do have my brother's mail account set up in evolution.  It's way down in the list so I don't think about it much, but it is there.  Is evolution confused about the account which is replying somehow?
Comment 3 Milan Crha 2009-10-09 07:46:10 UTC
Yup, it seems it's confused because of that. I guess. Just one more clarification, your brother's account isn't set as a default account, is it?
Comment 4 dave 2009-10-09 14:58:49 UTC
No, dave@sr71.net is the primary account.
Comment 5 Milan Crha 2009-10-12 11:53:51 UTC
Created attachment 145277 [details] [review]
proposed evo patch

for evolution;

when the To: is not filled due some reasons, try to use the Reply-to/From first, is filled. I tried with this patch to do the opposite too, (I exchanged From: and To:) and it seems to work fine.
Comment 6 Milan Crha 2009-10-15 19:19:39 UTC
Created commit c9dcd2a in evo master (2.29.1+)
Comment 7 Biscuits McCree 2009-12-21 01:17:08 UTC
I don't know if this is related to bug 603398, but:

Since 2.28, as I have 3 email address accounts in evolution, when someone writes to my 3rd one, and I hit reply, it tries to use my first one no matter what.

In other words, I'm having to manually change the account/address every time I reply to an email.

What can I do?  I upgraded to 2.28.2 and the problem still exists.
Comment 8 Milan Crha 2009-12-21 09:50:43 UTC
This one is about reply-to-all, for the reply itself it's rather bug #588833
Comment 9 Matthew Barnes 2010-03-03 00:34:32 UTC
I had to revert this commit because it breaks a more important use case: clicking "Reply All" on a message in your Sent folder which you yourself wrote now includes your own email address in the recipients list, which is a regression from 2.28.

http://git.gnome.org/browse/evolution/commit/?id=1e53063a44e6127bb178370b44196a5f4740aabd
Comment 10 Milan Crha 2010-03-19 09:15:32 UTC
(In reply to comment #9)
> I had to revert this commit because it breaks a more important use case:
> clicking "Reply All" on a message in your Sent folder which you yourself wrote
> now includes your own email address in the recipients list, which is a
> regression from 2.28.

Hrm, do you have any idea about better approach, to cover also Dave's case, where he has configured both sender's and recipient's addresses in evolution, but still wants to be able to reply to all with them? I do not have any, right now.
Comment 11 Matthew Barnes 2010-03-19 13:49:02 UTC
I don't offhand but I haven't investigated this deeply.  The case in comment #9 should be a regression test for whatever solution we come up with.  Given comment #2, this is a rare corner case in comparison.
Comment 12 Milan Crha 2010-04-09 13:54:52 UTC
What about check for duplicates and also do not add the address which will be used in a "From" of the new email? That should cover your case with a sent folder as well, shouldn't it?
Comment 13 Akhil Laddha 2010-05-07 04:00:54 UTC
*** Bug 617889 has been marked as a duplicate of this bug. ***
Comment 14 Milan Crha 2011-03-09 13:58:15 UTC
*** Bug 621776 has been marked as a duplicate of this bug. ***
Comment 15 Ben Dugan 2011-08-22 18:01:48 UTC
I just wanted to chime in here as an un-credentialed user about my own experience with this.

In our company I "watch" the sales inbox, but most of the time I don't reply to anything there because we have a person who does that primarily.  If that person cc's my own inbox (bdugan) in a message, I take that as a request for me to say something.  If I simply "reply", it will go back to the sales inbox correctly.  But if I reply-all it doesn't go to the sales inbox, or to my inbox, at all (presumably because I have both those accounts in my evolution setup).

What I would prefer is for Evolution to be less clever about this: Even though I am monitoring an account, when I reply-all I would still like that account to receive messages when its in the original list of addresses.

I don't even mind getting a copy to myself when I reply-all.  Its a little redundant, but it would be a simple affirmation that all the addresses were replied to, including the sender's.
Comment 16 André Klapper 2020-10-28 11:24:23 UTC
*** Bug 446152 has been marked as a duplicate of this bug. ***
Comment 17 André Klapper 2021-05-19 12:28:54 UTC
GNOME is going to shut down bugzilla.gnome.org in favor of gitlab.gnome.org. 
As part of that, we are mass-closing older open tickets in bugzilla.gnome.org (resources are unfortunately quite limited so not every ticket can get handled).

If you can still reproduce the situation described in this ticket in a recent
and supported software version, then please follow
  https://wiki.gnome.org/Community/GettingInTouch/BugReportingGuidelines
and create a new bug report ticket at
  https://gitlab.gnome.org/GNOME/evolution/-/issues/

Thank you for your understanding and your help.