Bug 71542 - reply seems to ignore Reply-To: adress
Summary: reply seems to ignore Reply-To: adress
Status: RESOLVED FIXED
Alias: None
Product: kmail
Classification: Applications
Component: general (show other bugs)
Version: 1.5.94
Platform: unspecified Linux
: NOR normal
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-12-31 12:28 UTC by Thomas Reitelbach
Modified: 2007-09-14 12:17 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments
the original message (1.64 KB, application/x-bzip2)
2003-12-31 12:30 UTC, Thomas Reitelbach
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Thomas Reitelbach 2003-12-31 12:28:16 UTC
Version:           1.5.94 (using KDE 3.1.94 (CVS >= 20031206), compiled sources)
Compiler:          gcc version 3.3.1
OS:          Linux (i686) release 2.4.23

I tried to subscribe to a mailing list and got a "please confirm" message which i was asked to simply reply to.
So i did, pressed the reply button and noticed that my reply would get send to the wrong address.
I had a closer look at the original message but still have no idea why kmail behaves like this. After reading some similar bug reports about replying i decided that this one is different from the others.

So this happened:

1. i requested subscription to licq-devel@lists.sourceforge.net via their web interface at SF
2. received their "please confirm" email, sender of this mail was "licq-devel-request@lists.sourceforge.net"
3. pressed "R" for a reply
4. the recipient of my reply was chosen to be "licq-devel@lists.sourceforge.net" (which is the real mailinglist-address and not the one to send my confirmation to)
5. then i tried "Shift-A" to reply to author and it chose the correct recipient address

What i wonder is, why did kmail choose to send to the mailinglist and not to the Reply-To: address?
"licq-devel@lists.sourceforge.net" is mentioned only at two places in the original email headers:
- X-BeenThere: licq-devel@lists.sourceforge.net
- List-Post: <mailto:licq-devel@lists.sourceforge.net>

I attach the original message to this report.
Of course my kmail is as recent as possible (1h old).

Thomas
Comment 1 Thomas Reitelbach 2003-12-31 12:30:01 UTC
Created attachment 3894 [details]
the original message

This is the original message that i tried to reply to.
kmail tried to reply to the address "licq-devel@list.sourceforge.net" which was
wrong here.
Comment 2 Ingo Klöcker 2004-01-01 23:05:49 UTC
Subject: kdepim/kmail

CVS commit by kloecker: 

Prefer the value of the Reply-To header over the mailing list address for the standard Reply. This fixes Bug 71542 (reply seems to ignore Reply-To: adress).

CCMAIL: 71542-fixed@bugs.kde.org


  M +3 -3      kmmessage.cpp   1.450


--- kdepim/kmail/kmmessage.cpp  #1.449:1.450
@@ -901,11 +901,11 @@ KMMessage* KMMessage::createReply( KMail
       toStr = headerField( "Mail-Followup-To" );
     }
-    else if ( !mailingListAddresses.isEmpty() ) {
-      toStr = mailingListAddresses[0];
-    }
     else if ( !replyToStr.isEmpty() ) {
       // assume a Reply-To header mangling mailing list
       toStr = replyToStr;
     }
+    else if ( !mailingListAddresses.isEmpty() ) {
+      toStr = mailingListAddresses[0];
+    }
     else {
       // doesn't seem to be a mailing list, reply to From: address