Overview
The users are complaining about receiving the following Non-Delivery Receipt (NDR) message:
The original message was received at Sun, 25 Aug 2019 16:01:26 -0400
from m0142739.ppops.net [127.0.0.1]
----- The following addresses had permanent fatal errors -----
krussom@domain.edu>
(reason: 554 5.4.14 Hop count exceeded - possible mail loop ATTR34 [BL2NAM02FT014.eop-nam02.prod.protection.outlook.com])
----- Transcript of session follows -----
... while talking to domain-edu.mail.protection.outlook.com.:
>>> DATA
<<< 554 5.4.14 Hop count exceeded - possible mail loop ATTR34 [BL2NAM02FT014.eop-nam02.prod.protection.outlook.com]
554 5.0.0 Service unavailable
This article provides instructions on how to resolve the above error.
Prerequisites
Access to Kerio Connect Administration
Root Cause
Incorrect SMTP routing is causing emails to bounce on both recipient and sender part. This is usually caused by misconfigured port-forwarding rules in the firewall settings.
The hop count refers to the number of mail servers a message passes through on its journey from the sender to the recipient. Unfortunately, there is no way one can control the number of mail servers through which an email passes until it reaches its final recipient server. After the email has left the sending server, it can go through any number of relaying servers before reaching the final recipient, depending on the recipient server setup.
Kerio Connect has an option to only accept mails if they are not exceeding a specified number of hops.
Process
Recommended Way
-
Log in to the Kerio Connect Administration and navigate to Configuration > SMTP server > Security Options tab.
-
Increase the Maximum number of accepted Received headers (hops).
-
Click Apply.
Manual Way
-
Stop Kerio Connect (Windows, macOS, and Linux).
-
Navigate to the Kerio Connect installation folder.
The defaults are:
-
Windows:
C:\Program Files\Kerio\MailServer
-
macOS:
/usr/local/kerio/mailserver
-
Linux:
/opt/kerio/mailserver
-
-
Open the
mailserver.cfg
file and locate theMaxHops
variable in theSMTP table
. Increase theMaxHops
variable value.Save the changes.
-
Start Kerio Connect.
Confirmation
Hop Count limit increased successfully to overcome the 'Hop Count Exceeded' Error.
Priyanka Bhotika
Comments