Dr. Wietse, Thank you for your valuable time, not just for this question, but for the entire postfix product.
If I understood you correctly, increasing the hop count limit may help in this case. I only see 1 or 2 headers that are being added, but I am not sure. I can try changing the limit and then seeing the effect. Thank you again. > Subject: Re: Unable to relay via postfix ... but telnet works...? > To: postfix-users@postfix.org > Date: Fri, 17 Feb 2012 14:52:41 -0500 > From: wie...@porcupine.org > > A. Abd-Allah: > > Final-Recipient: rfc822;bob@gmail.comAction: failedStatus: > > 5.0.0Remote-MTA: smtp;MAILGW1.OURDOMAIN.COMDiagnostic-Code: X-Notes; > > Error transferring to MAILGW1.OURDOMAIN.COM; Maximum hop count > > exceeded. Message probably in a routing loop. > > When a mail server receives mail via SMTP, the standard requires > that it adds a header with: > > Received: ....stuff..... > > Many MTAs count the number of such message header lines and report > a "Maximum hop count exceeded" error because the number exceeds > some upper bound. > > With Postfix, the default is "hopcount_limit = 50". > > Your "telnet" message had no such header, while the "non telnet" > message presumably had several. That's why one triggers the > error and the other does not. > > Wietse