Mailing List CGatePro@mail.stalker.com Message #105687
From: Lewis Rosenthal <lgrosenthal@2rosenthals.com>
Subject: Re: "Too many hops"?
Date: Thu, 11 Jun 2015 00:10:00 -0400
To: CommuniGate Pro Discussions <CGatePro@mail.stalker.com>
Hi, James...

Fancy meeting you here. :-)

On 06/10/2015 12:47 PM, James Moe wrote:
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

cgpro 5.4.11
linux 3.16.7-21-desktop x86_64

   Mailchannel.net appears to have arisen as a popular email delivery
service. It is also somewhat broken. For no obvious reason it bounces
the message back and forth between the itself and the originating
sender at least 10 times before actually sending the message on to its
recipient.
   The result is a huge header with a larger number of "Received: ..."
and "X-whatever" header entries. CGPro has been rejecting some of
these messages because of the large number of Received entries.

   Where is the setting that sets the limit for this?

08:49:34.613 1 QUEUE([5736063]) Enqueueing failed. Error Code=mail
loop: too many hops (too many 'Received:' header fields)

Yes. RFC 5321 has left the section pertaining to loop detection unchanged from RFC 2821:

   Simple counting of the number of "Received:" headers in a message
   has proven to be an effective, although rarely optimal, method of
   detecting loops in mail systems. SMTP servers using this technique
   SHOULD use a large rejection threshold, normally at least 100
   Received entries. Whatever mechanisms are used, servers MUST contain
   provisions for detecting and stopping trivial loops.

In CGP 5.4.10 (latest available for OS/2, at least), you will find this setting in Settings | Mail | Queue. Look for "Hop Counter Limit" (mine is set to 20, which I guess is the default).

HTH

--
Lewis
-------------------------------------------------------------
Lewis G Rosenthal, CNA, CLP, CLE, CWTS, EA
Rosenthal & Rosenthal, LLC                www.2rosenthals.com
visit my IT blog                www.2rosenthals.net/wordpress
IRS Circular 230 Disclosure applies   see www.2rosenthals.com
-------------------------------------------------------------

Subscribe (FEED) Subscribe (DIGEST) Subscribe (INDEX) Unsubscribe Mail to Listmaster