-
-
Notifications
You must be signed in to change notification settings - Fork 27
smtp delivery error not shown #534
Comments
thanks for the post, yes, this could be improved. did the delivery report pop up in "contact requests"? (which is a rather bad name in this context, e-mail would be much better here) had the idea of parsing the reports and marking the messages as failed or so in #39 afaik there are also servers that give feedback directly when sending is not possible by them (seen this on my server but did not investigate in that) |
Unfortunately even in Contact Requests there is no message to see.
All in one second and time is matching to the error message. Maybe this helps to find why even in Contact Requests nothing is shown? It would help or even sufficient to show these error messages in Contact Requests in full text. So user can see what's going wrong (+ alert of new mail in Contact Request !). |
My memory sucks, but I think I have already seen error emails from servers on contact request view, but well were redirected from a gmail account to my account...
|
I examined the error message and found no Message ID header in it. Maybe a reason for not handling it correctly? Here the anonymized original .eml file. Mail delivery failed: returning message to sender-anonymisiert.eml.txt |
just tried to send a message to an address of the german telekom - quota exceeded :) unfortunately, the mail is not easily assignable to the failed message, however. the german telekon unfortunately does not use a standard delivery report but just adds a but, also here, the subject starts with |
I have next incident. Provider is "t-online.de".
is shown. This message is not shown in contact requests! Headers:
|
still existant in v0.200.0, core 0-42-0-dev |
If user setting "Show all emails in contact requests" is activated we should see this error message. |
In your example cases, would these checks allow to match the error-message to a sent-message?: https://support.delta.chat/t/make-contact-requests-more-visible/196/41 |
From: contains text "Mailer" and "Daemon" ==> ok And in body somewhere you should see "smtp" and "error" and an email address which is known. As r10s mentioned: There are some reply formats which are not standard so a common detection is somewhat difficult, but not impossible :-) But nevertheless: If "show all emails" is selected I should see all messages from inbox. So even the error messages should appear. But this is currently not the case. |
The actual tests from the linked post, to identify the affected message:
Which should already be sufficient to associate it to a affected, recently sent message. Only some failure receipts do additionally contain:
|
I think #673 would make errors appear as an email (old "contact requests") only for those that have enabled this, and not show any error (state, symbol or icon) for sent but failed chat messages. But "smtp delivery error not shown" will require and should work based on the 5 filter rules to actually show an error for failed chat messages. |
For me it would be ok to see it in "contact requests". But ok, the ideal way for most users would be to see it in the causing chat or so ... |
Core v0.43.0 I have a next delivery error from arcor.de ==> Message is shown. Next delivery error from aol.com ==> Message NOT shown It seems that many providers are not sending a message Id in error messages and DC |
"Cannot create Message-ID" is the important information. See void dc_receive_imf(...)
If no message ID is created all further workflow of this message is stopped and is not shown. I think that's it. |
@r10s maybe this part should be updated in rust core in a similar or same way too ?! |
Added a new chat with new email address manally. Sent first message and got no response.
If I examine INBOX by other email app later there is a mail with subject "Mail delivery failed: returning message to sender".
Into that mail wrong "to: address" is shown and error reason is described.
DC doesn't show anything about that error to user. User is not aware that sent message never arrived!
DC should show every error message somehow to user. In best case error message is shown into chat to which it belongs to.
The text was updated successfully, but these errors were encountered: