Error Too Many Hops Postfix
Contents |
Sign in Pricing Blog Support Search GitHub This repository Watch 225 Star 5,147 Fork 445 mail-in-a-box/mailinabox Code Issues 122 Pull requests 22 Projects 0 Wiki Pulse Graphs New issue Error: too many hops 554 5.4 0 error too many hops (in reply to end of DATA command) #713 Closed pryley opened this Issue Feb
Error Too Many Hops (in Reply To End Of Data Command)
15, 2016 · 7 comments Projects None yet Labels None yet Milestone No milestone Assignees No one assigned too many hops error message 3 participants pryley commented Feb 15, 2016 I was getting undelivered mail with the error: Error: too many hops (in reply to end of DATA command)
I tracked down the error to the postfix smtp 554 5.4 6 too many hops mydestination config (/etc/postfix/main.cf). For some reason the line had been commented out and replaced with mydestination = localhost #mydestination = mymailserver.com, localhost.com, , localhost mydestination = localhost I fixed it by changing it to: mydestination = $myhostname, localhost.$mydomain, localhost I have no idea if/why it changed and I only just started getting reports of the undeliverable mail from a user today. Maybe this will help someone else. Mail-in-a-Box member
554 Too Many Hops
JoshData commented Feb 15, 2016 The original is correct. There must be something else on your system that is different/incorrect. pryley commented Feb 15, 2016 Ok well since you said it was correct, I've changed the postfix setting back to mydestination = localhost. So the original problem was this: This is the mail system at host spam.flamble.it. I'm sorry to have to inform you that your message could not be delivered to one or more recipients. It's attached below. For further assistance, please send mail to postmaster. If you do so, please include this problem report. You can delete your own text from the attached returned message. The mail system
does the "too many hops" error mean when an email message I send fails? When you send an email message over a network, it is transferred to and through several computers before it gets to its too many hops (in reply to end of data command) destination. Each transfer between computers is called a hop. The "too many hops" error "5.4.0 error: too many hops" message means there are too many transfers between you and your recipient. To prevent mail forwarding loops, most mail delivery systems
Too Many Hops 26 (25 Max)
limit the number of hops they will process before stopping a delivery attempt. There is little you can do to correct a "too many hops" mail return. If you think a mail forwarding loop is causing https://github.com/mail-in-a-box/mailinabox/issues/713 the error, you can contact the person with the loop through a method other than the email address causing the error. If you know a mail forwarding loop is not causing the error, ask your system administrator to increase the maximum number of hops allowed. Mail forwarding loops A mail forwarding loop can occur when you set up mail forwarding on two accounts so that the first account forwards all its mail https://kb.iu.edu/d/beha to the second, and the second account forwards mail back to the first. If your mail delivery system had no limit on hops, your message could be bounced back and forth between these two accounts indefinitely. Frequently, when a message you sent returns to you with the "too many hops" error message, it means the recipient has set up a mail forwarding loop. Distribution lists If you are an owner of a distribution list and your list gets the "too many hops" error message, you may have more difficulty identifying the sender because the error message typically does not include the exact email address(es) causing the problem. Here is an example of the delivery error message: | ---------- Forwarded message ---------- | Date: 11 Jul 2003 15:28:10 -0500 | From: Mail Delivery Subsystem
Get Kubuntu Get Xubuntu Get Lubuntu Get UbuntuStudio Get Mythbuntu Get Edubuntu Get Ubuntu-GNOME Get UbuntuKylin Ubuntu Code of Conduct Ubuntu Wiki Community Wiki Other Support Launchpad Answers Ubuntu IRC Support AskUbuntu Official Documentation User https://ubuntuforums.org/showthread.php?t=2262656 Documentation Social Media Facebook Twitter Useful Links Distrowatch Bugs: Ubuntu PPAs: Ubuntu Web Upd8: Ubuntu https://www.howtoforge.com/community/threads/postfix-too-many-hops.27224/ OMG! Ubuntu Ubuntu Insights Planet Ubuntu Activity Page Please read before SSO login Advanced Search Forum The Ubuntu Forum Community Ubuntu Specialised Support Ubuntu Servers, Cloud and Juju Server Platforms [ubuntu] Postfix/Amavis "too many hops" issue Having an Issue With Posting ? Do you want to help us debug the posting issues ? < is the place to too many report it, thanks ! Page 1 of 2 12 Last Jump to page: Results 1 to 10 of 12 Thread: Postfix/Amavis "too many hops" issue Thread Tools Show Printable Version Subscribe to this Thread… Display Linear Mode Switch to Hybrid Mode Switch to Threaded Mode January 26th, 2015 #1 jmaciak1987 View Profile View Forum Posts Private Message First Cup of Ubuntu Join Date Jan 2015 Beans 9 Postfix/Amavis "too many hops" issue too many hops Ever since adding Amavis/Spamassassin/clamav/postgrey to my postfix server, I'm getting slammed with "Undelivered Mail Returned to Sender". Specifically: Code: 554 5.4.0 Error: too many hops (in reply to end of DATA command) Our setup: We use Gmail as our external mail handler. Mail goes to Google, if Google doesn't have that address (person@example.org), it then goes to Mailarmory (which is an external spam filtering service), then it goes to our local mailserver (hostname "Blackhole") that holds a ton of aliases which point any person@example.org not on Google to the appropriate place (i.e. person@harvard.edu). We're trying to get rid of Mailarmory and let our local mailserver do the filtering. I installed and configured Amavis and all its friends according to this guide: https://help.ubuntu.com/community/PostfixAmavisNew Watching the mail.log, mail is coming in and out of the local mail server (Blackhole). Spam is being tagged appropriately, although the filter seems a bit lax at the moment. My biggest problem is the amount of "Undelivered Mail Returned to Sender" messages I'm getting that have the "too many hops" error. Mailarmory is still in place at the moment because this is a production environment and we've only deleted a few of the whitelisted addresses at Mailarmory as a test. My only theory at the moment is that there is a loop cr
Hi, I believe this is not an issues with my ISPConfig/postfix setup however I'd like to confirm. Most email sends normally however one person using my server talks with several people in the Netherlands (We are in Canada). Depending on the domain the email is sent to either the message is received or does the 'too many hops' message. The header below is for a 'too many hops' message: Code: The original message was received at Fri, 26 Sep 2008 18:26:23 +0200 from [195.121.247.250] ----- The following addresses had permanent fatal errors ----- <[emailprotected]> (reason: 554 5.4.6 Too many hops) ----- Transcript of session follows ----- 554 5.4.6 Too many hops 26 (25 max): from < [emailprotected]> via localhost, to <[emailprotected]> Reporting-MTA: dns; psmtp15.wxs.nl Arrival-Date: Fri, 26 Sep 2008 18:26:23 +0200 Final-Recipient: RFC822; [emailprotected] Action: failed Status: 5.4.6 Diagnostic-Code: SMTP; 554 5.4.6 Too many hops Last-Attempt-Date: Sun, 28 Sep 2008 08:56:10 +0200 Received: from cpsmtpo-eml04.kpnxchange.com ([195.121.247.250]) by psmtp15.wxs.nl (8.13.5/8.12.10) with ESMTP id m8QGQMN7020113 for <[emailprotected]>; Fri, 26 Sep 2008 18:26:23 +0200 Received: from cpsmtpi-eml07.kpnxchange.com ([213.75.38.137]) by cpsmtpo-eml04.kpnxchange.com with Microsoft SMTPSVC(6.0.3790.3959); Fri, 26 Sep 2008 18:26:02 +0200 Received: from psmtp15.wxs.nl ([195.121.247.250]) by cpsmtpi-eml07.kpnxchange.com with Microsoft SMTPSVC(6.0.3790.3959); Fri, 26 Sep 2008 18:26:01 +0200 Received: from hpsmtp-eml17.kpnxchange.com ([195.121.247.250]) by psmtp15.wxs.nl (8.13.5/8.12.10) with ESMTP id m8QGQ0dC019161 for <[emailprotected]>; Fri, 26 Sep 2008 18:26:00 +0200 Received: from hpsmtp-eml06.kpnxchange.com ([213.75.38.106]) by hpsmtp-eml17.kpnxchange.com with Microsoft SMTPSVC(6.0.3790.3959); Fri, 26 Sep 2008 18:25:39 +0200 Received: from psmtp29.wxs.nl ([195.121.247.250]) by hpsmtp-eml06.kpnxchange.com with Microsoft SMTPSVC(6.0.3790.3959); Fri, 26 Sep 2008 18:25:37 +0200 Received: from hpsmtp-eml11.kpnxchange.com ([195.121.247.250]) by psmtp29.wxs.nl (8.13.5/8.12.10) with ESMTP id m8QGPbAl020010 for <[emailprotected]>; Fri, 26 Sep 2008 18:25:37 +0200 Received: from cpsmtpi-eml04.kpnxchange.com ([213.75.38.134]) by hpsmtp-eml11.kpnxchange.com with Microsoft SMTPSVC(6.0.3790.3959); Fri, 26 Sep 2008 18:25:15 +0200 Received: from