The "hop count" in networking refers to the number of devices a particular network packet needs to move through to reach a given destination. In e-mail, the hop count refers to the number of mail servers a message passes through on its journey from the sender to the recipient. The "Received:" header of an e-mail message contains a breakdown of the total route traversed by the message, so a hop count can be derived by counting the total number of hosts listed there.

Hop counts are used in e-mail to stop problems with mail loops. For instance, if is set to forward to, and is forwarding back to, the hop count will enumerate how many times a message is passed back and forth, and will eventually stop the message from "looping" endlessly between the two addresses. A loop problem will usually be evident in a message header. Any message that runs out of hops will be returned with the error 554: hop count exceeded (or a similarly-worded message).

Each version of Exchange has a different hop count. The default hop counts for each are usually set high enough that messages can traverse even fairly complicated e-mail systems without problems, but still be able to stop mail loops. That said, there are some mail systems that add large numbers of hops to a message due to internal relaying, so it may at some point become necessary to change the hop count to insure that messages arrive safely.

Exchange 5.5 has a default hop count

    Requires Free Membership to View

of 18, while Exchange 2000's hop count is 15. By contrast, Exchange 2003 has a default hop count of 30 (which is the highest most administrators would ever set it).

If you want to raise the hop count in 5.5, edit the Registry key HKEY_LOCAL_MACHINE SYSTEM CurrentControlSet Services MSExchangeIMC and set its value to the number of hops to use, in hex. In Exchange 2000 and higher, the hop count can be set by going to the SMTP Virtual Server's Properties panel. Under the Delivery tab, click the Advanced button and edit the Maximum Hop Count value.

Serdar Yegulalp is the editor of the Windows 2000 Power Users Newsletter.

Do you have a useful Exchange tip to share? Submit it to our monthly tip contest and you could win a prize and a spot in our Hall of Fame.

This was first published in July 2004

There are Comments. Add yours.

TIP: Want to include a code block in your comment? Use <pre> or <code> tags around the desired text. Ex: <code>insert code</code>

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy
Sort by: OldestNewest

Forgot Password?

No problem! Submit your e-mail address below. We'll send you an email containing your password.

Your password has been sent to:

Disclaimer: Our Tips Exchange is a forum for you to share technical advice and expertise with your peers and to learn from other enterprise IT professionals. TechTarget provides the infrastructure to facilitate this sharing of information. However, we cannot guarantee the accuracy or validity of the material submitted. You agree that your use of the Ask The Expert services and your reliance on any questions, answers, information or other materials received through this Web site is at your own risk.