Koozali.org: home of the SME Server

Obsolete Releases => SME 7.x Contribs => Topic started by: ddougan on August 16, 2010, 07:00:58 AM

Title: Too many hops attempting to send to internal mail server
Post by: ddougan on August 16, 2010, 07:00:58 AM
I'm testing a Zimbra server behind my SME Server and am having a problem when receiving mail. I followed the information in the wiki:

http://wiki.contribs.org/Email#Deliver_email_for_one_domain_to_an_internal_mail_server

by using the setprop option to forward my primary domain to the Zimbra server. However, I'm getting mail bounced back:

192.168.0.3 failed after I sent the message.
Remote host said: 554 5.4.0 Error: too many hops

I'd appreciate any suggestions as to where I've gone wrong.

Thanks,

Des
Title: Re: Too many hops attempting to send to internal mail server
Post by: byte on August 16, 2010, 11:07:58 AM
Hi Des,

We need more information to help you like exactly how you have your email domains configured etc.

Thanks.
Title: Re: Too many hops attempting to send to internal mail server
Post by: mmccarn on August 16, 2010, 12:41:29 PM
If the SME is setup correctly, you would get an error like this if the Zimbra server thought that the email should be delivered to the SME server.

The log files on the SME or Zimbra server will indicate why the email is bouncing.  Here's a wiki page describing how to dig info from the SME server's email-related logfiles: http://wiki.contribs.org/Mail_log_file_analysis

Two possibilities occur to me:
- The SME is configured to use a DNS name or public IP address for the 'Zimbra' server that really resolves to the WAN IP on the SME -- so the SME just delivers to itself over and over (the SME server logs will show only local IPs when trying to relay an email to the Zimbra server).

-The Zimbra server thinks that email for your domain should be relayed instead of accepted -- that is, your domain name is not configured as a local domain on the Zimbra server (the zimbra logfiles should indicate that the email was accepted and relayed).
Title: Re: Too many hops attempting to send to internal mail server
Post by: CharlieBrady on August 16, 2010, 03:12:09 PM
I'd appreciate any suggestions as to where I've gone wrong.

Well, first of all you are posting in the wrong forum - this one concerns only software installed from the SME server CDROM.
Title: Re: Too many hops attempting to send to internal mail server
Post by: ddougan on August 16, 2010, 04:30:50 PM
If the SME is setup correctly, you would get an error like this if the Zimbra server thought that the email should be delivered to the SME server.

The log files on the SME or Zimbra server will indicate why the email is bouncing.  Here's a wiki page describing how to dig info from the SME server's email-related logfiles: http://wiki.contribs.org/Mail_log_file_analysis

Two possibilities occur to me:
- The SME is configured to use a DNS name or public IP address for the 'Zimbra' server that really resolves to the WAN IP on the SME -- so the SME just delivers to itself over and over (the SME server logs will show only local IPs when trying to relay an email to the Zimbra server).

-The Zimbra server thinks that email for your domain should be relayed instead of accepted -- that is, your domain name is not configured as a local domain on the Zimbra server (the zimbra logfiles should indicate that the email was accepted and relayed).

Thanks for the replies. The problem was mis-configured domain credentials in Zimbra, which I was able to resolve using Zimbra's utilities.

Regards,

Des
Title: Re: Too many hops attempting to send to internal mail server
Post by: cactus on August 16, 2010, 06:37:50 PM
Moving to SME 7.x Contribs as it is more appropriate there.