Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MailParser does not return error from MAILER-DAEMON #288

Open
nendic opened this issue Jan 20, 2021 · 1 comment
Open

MailParser does not return error from MAILER-DAEMON #288

nendic opened this issue Jan 20, 2021 · 1 comment

Comments

@nendic
Copy link

nendic commented Jan 20, 2021

how to get the text of the message that the message has not been delivered, the text is not included in the body of the message
`Subject: Returned mail: see transcript for details
Auto-Submitted: auto-generated (failure)

This is a MIME-encapsulated message

--10K69CiJ009083.1611123052/www1.

The original message was received at Fri, 15 Jan 2021 07:23:35 +0200
from mx1. [ip]

----- The following addresses had permanent fatal errors -----
<@.>
(reason: 452 4.2.2 Over quota)

----- Transcript of session follows -----
... while talking to localhost:

DATA
<<< 452 4.2.2 Over quota
<@>... Deferred: 452 4.2.2 Over quota
<<< 503 5.5.1 No recipients
Message could not be delivered for 5 days
Message will be deleted from queue

--10K69CiJ009083.1611123052/www1.
Content-Type: message/delivery-status

Reporting-MTA: dns; www1
Arrival-Date: Fri, 15 Jan 2021 07:23:35 +0200
`

@bhargavgolla
Copy link

Have you identified how to extract the delivery-status content?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants