Bug 2495

Summary: Return receipts are always sent from default account
Product: Claws Mail (GTK 2) Reporter: Yannick Palanque <yannick>
Component: UI/Message ViewAssignee: users
Status: RESOLVED WORKSFORME    
Severity: normal CC: mgorny
Priority: P3    
Version: 3.7.10   
Hardware: PC   
OS: Linux   

Description Yannick Palanque 2011-09-12 22:04:12 UTC
Hello,

If a message from account Z asks for a return receipt and user send it, Claws Mail send it from the default account.
I think Claws Mail could send the return receipt with the original account (like it does for a reply), or with the current account (I dislike), or ask the user.

I'm sorry, no patch attached!

I hope I made myself clear, english is not my mother tongue, and, well... :-)
Comment 1 Michał Górny 2013-04-09 17:36:19 UTC
I can confirm that this is still an issue.

I've just received two mails requesting return receipts, one addressed exactly to the mail address of the account, the other to an alias. For both, claws-mail reports:

  This message is asking for a return receipt notification
  but according to its 'To:' and 'CC:' headers it was not
  officially addressed to you.
  It is advised to not to send the return receipt.

However, I have no idea why is that since 'Delivered-To' and 'To' match exactly. It may be because the GMail account is named 'foo@domain@imap.gmail.com' for some reason.

When I click 'Send receipt', claws-mail tries to add the message to the queue of my default account (not the one that message was received).

Since it's IMAP, if claws is in offline mode, nothing actually happens (no asking for switching to online, no errors, nothing).

if claws is in online mode, the message is added to the 'Queue' of the default account. If I then quickly switch to offline, I can see it there. I pasted it verbatim at the end of the comment.

Curious enough, it seems that the message has been sent already.

Also, it seems that switching the active account using the list at the bottom doesn't help it...

--

F:
NF:0
PS:10
SRH:1
SFN:
DSR:
MID:
CFG:
PT:0
S:mgorny@gentoo.org
RQ:
SSV:dev.gentoo.org
SSH:
R:<graaff@gentoo.org>
SCF:#imap/mgorny@gentoo.org/Sent
X-Claws-End-Special-Headers: 1
Date: Tue, 9 Apr 2013 17:28:17 +0200
From: =?UTF-8?B?TWljaGHFgiBHw7Nybnk=?= <mgorny@gentoo.org>
To: graaff@gentoo.org
Subject: Disposition notification: Test request receipt
Message-ID: <20130409172817.4198ecbb@pomiocik.lan>
MIME-Version: 1.0
Content-Type: multipart/report; report-type=disposition-notification;
  boundary="DN_/mk1zCT=QoxKziR=MXffJMag"

--DN_/mk1zCT=QoxKziR=MXffJMag
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

The message sent on: Tue, 09 Apr 2013 17:17:49 +0200
To: spambox@mgorny.alt.pl
With subject: "Test request receipt"
has been displayed at Tue, 9 Apr 2013 17:28:17 +0200.

There is no guarantee that the message has been read or understood.

--DN_/mk1zCT=QoxKziR=MXffJMag
Content-Type: message/disposition-notification

Reporting-UA: Claws Mail 3.9.0
Original-Recipient: rfc822;spambox@mgorny.alt.pl
Final-Recipient: rfc822;mgorny@gentoo.org
Original-Message-ID: <1365520669.9669.1.camel@localhost>
Disposition: manual-action/MDN-sent-manually; displayed

--DN_/mk1zCT=QoxKziR=MXffJMag
Content-Type: application/octet-stream
Reporting-UA: Claws Mail 3.9.0
Original-Recipient: rfc822;spambox@mgorny.alt.pl
Final-Recipient: rfc822;mgorny@gentoo.org
Original-Message-ID: <1365520669.9669.1.camel@localhost>
Disposition: manual-action/MDN-sent-manually; displayed

--DN_/mk1zCT=QoxKziR=MXffJMag--
Comment 2 Michał Górny 2013-04-09 19:11:21 UTC
Ok, it was my fault. The reason for this is that the 'e-mail address' in account preferences was other than the one that the mail was sent to. No fun for us alias-users.