Le 23/10/2012 18:07, Viktor Dukhovni a écrit : > On Tue, Oct 23, 2012 at 08:53:19AM -0700, marintech wrote: > >> I'm having a heck of a time trying to get inbound mail to work from my new >> Spam filtering provider. The problem I see is that when my mail server gets >> the mail from Spam Soap there is something in the header that it thinks made >> too many hops. > > You've likely created a routing loop between your server and the > spam filtering service. Don't forward already filtered mail back > to the filtering service. > > Or you have a content filter loop on the local machine, with mail > that passes a content filter re-injected right back into that > local filter. >
or there is a "Delivered-To" header issue. if your foo-provider adds a "Delivered-to: j...@example.com", and your postfix tries to deliver to j...@example.com then it's a loop and postfix will barf. so make sure your foo-provider does not add such a header. try a header_checks like these /^(Delivered\-To:.*)/ REPLACE X-$1 /^(X\-Delivered\-To:.*)/ REPLACE X-$1 /^X\-X\-Delivered\-To:/ REJECT the universe collapsed of course, you must remove these once you know what the problem is.