Start a conversation

Resolving 'Hop Count Exceeded' Error

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

  1. Log in to the Kerio Connect Administration and navigate to Configuration > SMTP server > Security Options tab.

  2. Increase the Maximum number of accepted Received headers (hops).

    130.png

  3. Click Apply.

 

Manual Way

  1. Stop Kerio Connect (Windows, macOS, and Linux).

  2. 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

  3. Open the mailserver.cfg file and locate the MaxHops variable in the SMTP table. Increase the MaxHops variable value.

    Save the changes.

    131.png

  4. Start Kerio Connect.


 

Confirmation

Hop Count limit increased successfully to overcome the 'Hop Count Exceeded' Error.


 

Back to Top

Choose files or drag and drop files
Was this article helpful?
Yes
No
  1. Priyanka Bhotika

  2. Posted
  3. Updated

Comments