mirror of
https://blitiri.com.ar/repos/chasquid
synced 2026-10-28 15:02:28 +00:00
courier: Improve delivery error messages
Delivery errors can be visible to the end-user via DSN responses, and some of them are not very clear, or are missing useful debugging information (such as the MX). This patch improves the messages by including the MX where appropriate, having explicit errors for cases where no servers are found/allowed, and using less technical language for the common explanations. There are no changes to the behaviour on errors, this change only affects the messages.
This commit is contained in:
@@ -26,7 +26,7 @@ Delivery of your message to the following recipient(s) failed permanently:
|
||||
|
||||
Technical details:
|
||||
- "userB@srv-b" (EMAIL) failed permanently with error:
|
||||
MAIL+RCPT 550 "5.7.23 SPF check failed: matched all"
|
||||
srv-b.: MAIL/RCPT failed: 550 "5.7.23 SPF check failed: matched all"
|
||||
|
||||
|
||||
--???????????
|
||||
@@ -40,7 +40,7 @@ Original-Recipient: utf-8; userB@srv-b
|
||||
Final-Recipient: utf-8; userB@srv-b
|
||||
Action: failed
|
||||
Status: 5.0.0
|
||||
Diagnostic-Code: smtp; MAIL+RCPT 550 "5.7.23 SPF check failed: matched all"
|
||||
Diagnostic-Code: smtp; srv-b.: MAIL/RCPT failed: 550 "5.7.23 SPF check failed: matched all"
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user