mirror of
https://github.com/chatmail/core.git
synced 2026-09-22 13:01:21 +03:00
fix: trash early MDNs that reference no message
A report referencing no message can never be applied to one, so it must not create a contact, a chat or a `last_seen` update on its way to the trash.
This commit is contained in:
23
test-data/message/mdn_without_message_reference.eml
Normal file
23
test-data/message/mdn_without_message_reference.eml
Normal file
@@ -0,0 +1,23 @@
|
||||
From: bob@example.net
|
||||
To: alice@example.org
|
||||
Subject: message opened
|
||||
Date: Sun, 22 Mar 2020 23:37:57 +0000
|
||||
Message-ID: <aranudiaerudiaduiaertd@example.com>
|
||||
Content-Type: multipart/report; report-type=disposition-notification; boundary="SNIPP"
|
||||
|
||||
|
||||
--SNIPP
|
||||
Content-Type: text/plain; charset=utf-8
|
||||
|
||||
Read receipts do not guarantee sth. was read.
|
||||
|
||||
|
||||
--SNIPP
|
||||
Content-Type: message/disposition-notification
|
||||
|
||||
Original-Recipient: rfc822;bob@example.net
|
||||
Final-Recipient: rfc822;bob@example.net
|
||||
Disposition: automatic-action/MDN-sent-automatically; processed
|
||||
|
||||
|
||||
--SNIPP--
|
||||
Reference in New Issue
Block a user