[#14005] Inconsistent message for SMTP error 554
Summary Inconsistent message for SMTP error 554
Queue IMP
Queue Version Git master
Type Enhancement
State Assigned
Priority 1. Low
Owners Horde Developers, mrubinsk@horde.org
Requester ddolgopolov@odin.com
Created 2015-06-05 (2006 days ago)
Due
Updated 2015-07-20 (1961 days ago)
Assigned 2015-07-20 (1961 days ago)
Resolved
Milestone
Patch No

Comments
Michael Slusarz <slusarz@horde.org> 2015-06-05 15:55:06
You are confusing the RFC requirement - which concerns error messages 
output by the server intended to be displayed by an *admin* - with the 
error message intended to be displayed to a *user*.

For 554 errors, without extended error codes, there is not a single, 
simple message that works for all server responses.  (If anything, we 
should probably be even MORE general with the response, e.g. "There 
was an error when trying to send the message").

What you are asking for is already provided.  Not only is the error 
message available in SMTP debug logs, but it will be logged to the 
Horde error log (at least as of IMP 7.0).

You absolutely cannot be appending the direct content of SMTP error 
messages to user displayable data.  That is a recipe for disaster.

ddolgopolov@odin.com 2015-06-08 04:03:11
Michael, it would be nice to show "There was an error when trying to 
send the message".

Michael Rubinsky <mrubinsk@horde.org> 2015-07-20 14:16:17
Accepting as an enhancement, for updating the language of the error 
displayed to be more general,  as suggested by MIchael in his comment.