Koozali.org: home of the SME Server

Too many hops attempting to send to internal mail server

Offline ddougan

  • *
  • 155
  • +0/-0
    • http://www.DouganConsulting.com
Too many hops attempting to send to internal mail server
« 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
Des Dougan

Offline byte

  • *
  • 2,183
  • +2/-0
Re: Too many hops attempting to send to internal mail server
« Reply #1 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.
--[byte]--

Have you filled in a Bug Report over @ http://bugs.contribs.org ? Please don't wait to be told this way you help us to help you/others - Thanks!

Offline mmccarn

  • *
  • 2,651
  • +10/-0
Re: Too many hops attempting to send to internal mail server
« Reply #2 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).

Offline CharlieBrady

  • *
  • 6,918
  • +3/-0
Re: Too many hops attempting to send to internal mail server
« Reply #3 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.

Offline ddougan

  • *
  • 155
  • +0/-0
    • http://www.DouganConsulting.com
Re: Too many hops attempting to send to internal mail server
« Reply #4 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
Des Dougan

Offline cactus

  • *
  • 4,880
  • +3/-0
    • http://www.snetram.nl
Re: Too many hops attempting to send to internal mail server
« Reply #5 on: August 16, 2010, 06:37:50 PM »
Moving to SME 7.x Contribs as it is more appropriate there.
Be careful whose advice you buy, but be patient with those who supply it. Advice is a form of nostalgia, dispensing it is a way of fishing the past from the disposal, wiping it off, painting over the ugly parts and recycling it for more than its worth ~ Baz Luhrmann - Everybody's Free (To Wear Sunscreen)