6.0.0-beta1
7/4/25

[#10498] Invalid SMTP error message
Summary Invalid SMTP error message
Queue IMP
Queue Version 5.0.11
Type Bug
State Resolved
Priority 1. Low
Owners slusarz (at) horde (dot) org
Requester azurit (at) pobox (dot) sk
Created 09/09/2011 (5047 days ago)
Due
Updated 09/15/2011 (5041 days ago)
Assigned
Resolved 09/09/2011 (5047 days ago)
Github Issue Link
Github Pull Request
Milestone
Patch No

History
09/15/2011 06:54:50 PM donald (dot) teed (at) gmail (dot) com Comment #3 Reply to this comment
Changes have been made in Git for this ticket:

Bug #10498: Fix SMTP error codes/messages

  2 files changed, 8 insertions(+), 9 deletions(-)
http://git.horde.org/horde-git/-/commit/8fb392db7dd8fa42dd7a759be11b1628ee5a7e39
Tested these changes in my install and they worked.  I now see the 
actual error as intended by postfix.

In our case, we 550 error when typoed domains are entered (e.g. 
hotmai.com), so users don't need to wait days to learn their email 
wasn't actually delivered (domain parking of these typoed domains is 
the source of this).  Our message would report something like 
"Recipient address rejected: Use hotmail.com, NOT hotmai.com", 
allowing the user to immediately fix the problem.

09/09/2011 11:39:11 PM Michael Slusarz Assigned to Michael Slusarz
State ⇒ Resolved
 
09/09/2011 11:39:06 PM Git Commit Comment #2 Reply to this comment
Changes have been made in Git for this ticket:

Bug #10498: Fix SMTP error codes/messages

  2 files changed, 8 insertions(+), 9 deletions(-)
http://git.horde.org/horde-git/-/commit/8fb392db7dd8fa42dd7a759be11b1628ee5a7e39
09/09/2011 11:27:04 PM azurit (at) pobox (dot) sk Comment #1
Priority ⇒ 1. Low
Patch ⇒ No
Milestone ⇒
Queue ⇒ IMP
Summary ⇒ Invalid SMTP error message
Type ⇒ Bug
State ⇒ Unconfirmed
Reply to this comment
Traditional view is printing invalid SMTP error message when trying to 
send e-mail to invalid address. Here is part of sniffer SMTP 
communication:

MAIL FROM:<test@example.com>
250 2.1.0 Ok
RCPT TO:<fefrgergef@feeergrgr.fegk>
450 4.1.2 <fefrgergef@feeergrgr.fegk>: Recipient address rejected: 
Domain not found
RSET
250 2.0.0 Ok

Here is what IMP printed as error:

Failed to add recipient: fefrgergef@feeergrgr.fegk [SMTP: Invalid 
response code received from server (code: 250, response: 2.0.0 Ok)]

Text in the brackets should be 'code: 450, response: 4.1.2 
<fefrgergef@feeergrgr.fegk>: Recipient address rejected: Domain not 
found' and not 'code: 250, response: 2.0.0 Ok)'.

Saved Queries