Bug 279504

Summary: reply to does not use selected user identity
Product: [Applications] kmail2 Reporter: Ferdinand Gassauer <gassauer>
Component: composerAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED UNMAINTAINED    
Severity: normal CC: bugsnmd, gareth, lukas.schneiderbauer, peregrine.white, pieterkristensen, rini17, tuju
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed In:

Description Ferdinand Gassauer 2011-08-06 06:06:00 UTC
Version:           unspecified (using KDE 4.7.0) 
OS:                Linux

reply to uses  the "to"  from the original message as sender not the one which is selected in the composer

Reproducible: Sometimes

Steps to Reproduce:
create  to accounts and 2 identities
reply incoming mail from one account using identity from other account

Actual Results:  
identity from incoming mail isused regardless what identity is selected in the identity


Expected Results:  
take the selected identity 

IMHO the values (identities and others) selected in the composer must have highest priority.


OS: Linux (x86_64) release 2.6.37.6-0.7-desktop
Compiler: gcc
Comment 1 Juraj Variny 2013-01-04 13:23:57 UTC
Same problem here, identity setting is ignored not just when original To address is different, but in some other cases too (unable to pinpoint it exactly, may have some relationship to GPG signig too).  Noticed it only after upgrade from 4.9.3 to 4.9.4 .

KMail Version 4.9.4
Using KDE Development Platform 4.9.4
Gentoo x86_64
Comment 2 PK 2013-06-04 12:25:45 UTC
On my machine Kmail behaves as expected. It replies from the default sender of the identity. BUT it fails to do so when I (e.g.) reply on an email in my inbox when that email is from someone who also has an account in my Kmail.
Then suddenly Kmail forgets the default sender as set in the identity. It takes the wrong sender.
If I reply from my inbox to a "stranger" then it behaves 100% ok
Comment 3 Gareth Williams 2013-08-09 20:18:38 UTC
I have multiple IMAP accounts configured.  If I reply to one of those (eg send from IMAP-1 to IMAP-2 then reply) I find that KMail replies to the original recipient's address ("to") and not the sender ("from").  However, if I reply to someone else, KMail replies correctly to the sender.

This only happens with the 'Reply' button.  If I use 'Reply to Sender' (or Shift-A), it works fine.
Comment 4 perry 2014-12-10 12:26:25 UTC
KMail 4.13.3

using Pop and SMTP, bug always reproductible.

Tip : do not use "reply" but "reply to author" instead
Comment 5 Denis Kurz 2016-09-24 18:10:36 UTC
This bug has only been reported for versions before 4.14, which have been unsupported for at least two years now. Can anyone tell if this bug still present?

If noone confirms this bug for a Framework-based version of kmail2 (version 5.0 or later, as part of KDE Applications 15.12 or later), it gets closed in about three months.
Comment 6 Denis Kurz 2017-01-07 22:22:43 UTC
Just as announced in my last comment, I close this bug. If you encounter it again in a recent version (at least 5.0 aka 15.08), please open a new one unless it already exists. Thank you for all your input.
Comment 7 Juha Tuomala 2017-03-30 09:32:55 UTC
(In reply to Denis Kurz from comment #6)
> Just as announced in my last comment, I close this bug. If you encounter it
> again in a recent version (at least 5.0 aka 15.08), please open a new one
> unless it already exists. Thank you for all your input.

Just got bitten by this, Kmail 5.4.3 Fedora rpms, latest updates installed yesterday.

This bug is 16 years old:
bug  20328 2001-02-12 Identity settings do not work when sending mail
bug 121738 2006-02-11 Wrong identity selected on "New Message"
bug 279504 2011-08-06 reply to does not use selected user identity (this report)

Having different roles in business environment is essential. Having them leaking to wrong parters is really embarrasing.