Please note that LinuxExchange will be shutting down on December 31st, 2016. Visit this thread for additional information and to provide feedback.

The message WAS NOT relayed to email [127.0.0.1] said: 554 5.4.0 Failed,from MTA([127.0.0.1]:10025): 554 5.4.0 Error: too many hops Undeliverable message MTA blocked

asked 06 May '10, 07:15

moses's gravatar image

moses
113
accept rate: 0%

1

What is your question?

(06 May '10, 19:39) aardvark

Please accept an answer so the question/answer can be finished. Or provide more details so we can help.

(20 Apr '11, 13:59) rfelsburg ♦



More details would be useful. In the mean time,

What does "Error: too many hops" mean? Short answer: this message means that mail is probably looping. If you see this after you turned on Postfix content filtering, then you have made a mistake that causes mail to be filtered repeatedly. This is cured by appropriate use of content_filter=, header_checks=, and body_checks=.

Long answer: the message has too many Received: message headers. A received header is added whenever Postfix (or any MTA) receives a message. A large number of Received: message headers is an indication that mail is looping around.

Side comment: email uses the opposite of the technique that is used to avoid IP forwarding loops. With IP, the sender sets a TTL (time to live) field in the IP header. The field is decremented by each router. When the TTL reaches zero the packet is discarded and an ICMP error message is returned to the sender.

(from http://www.postfix.org/faq.html#loop and the first hit from Google "postfix too many hops")

link

answered 07 May '10, 18:47

LiquidPaper's gravatar image

LiquidPaper
12113
accept rate: 0%

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "Title")
  • image?![alt text](/path/img.jpg "Title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Tags:

×6
×6
×6

Asked: 06 May '10, 07:15

Seen: 4,666 times

Last updated: 20 Apr '11, 13:59

powered by OSQA