IMAP удаляет исходный контент из почты, как видно из приведенного ниже примера (исходное сообщение было удалено из рикошета.)
Вопрос: есть ли какая-либо конфигурация, которую я могу предоставитьIMAP при подключении всегда отправлять исходное сообщение?
Пример:
Return-Path: <>
To: a@ba.com
From: Mail Administrator <postmaster@b.com>
Reply-To: <Postmaster@b.com>
Subject: Mail System Error - Returned Mail with Subject: Hi from a
Date: Tue, 11 Oct 2018 12:38:19
Message-ID: <12121213312.AH12R3177.ns12d12121231u2fep03t-svc.1.q.com@qwp03t-q>
MIME-Version: 1.0
Content-Type: multipart/report;
report-type=delivery-status;
Boundary="===========================_ _= 8483766(3177)q"
Content-Transfer-Encoding: 7bit
--===========================_ _= 8483766(3177)q
Content-Type: text/plain
This Message was undeliverable due to the following reason:
Each of the following recipients was rejected by a remote mail server.
The reasons given by the server are included to help you determine why
each recipient was rejected.
Recipient: <a12312121@gmail.com>
Reason: 5.1.1 The email account that you tried to reach does not exist. Please try 5.1.1 double-checking the recipient's email address for typos or 5.1.1 unnecessary spaces. Learn more at 5.1.1 https://support.google.com/mail/?p=NoSuchUser w02-q2.2a60 - gsmtp
Please reply to <Postmaster@a.b.com>
if you feel this message to be in error.
The original message has been removed from the bounce message.
--===========================_ _= 8483766(3177)q
Content-Type: message/delivery-status
Reporting-MTA: dns; asasd.as.aas.a.a.com
Arrival-Date: Tue, 11 Oct 2018 12:38:06
Received-From-MTA: dns; a.a.a.a.b.com
Action: failed
Status: 5.1.1
Remote-MTA: dns; gmail-smtp-in.l.google.com (172.217.194.27)
Diagnostic-Code: smtp; 550-5.1.1 The email account that you tried to reach does not exist. Please try
550-5.1.1 double-checking the recipient's email address for typos or
550-5.1.1 unnecessary spaces. Learn more at
550 5.1.1 https://support.google.com/mail/?p=NoSuchUser w20-v6si34204854plp.260 - gsmtp
--===========================_ _= 8483766(3177)q--