On 6/29/24 09:38, Bill Cole via Postfix-users wrote:
On 2024-06-28 at 23:45:33 UTC-0400 (Fri, 28 Jun 2024 22:45:33 -0500)
Curtis J Blank via Postfix-users <curt.bl...@curtronics.com>
is rumored to have said:

OK I tired this. What "mydestination" is set to does not matter whether it's localhost or 127.0.0.1 if spampd is set to use localhost and not 127.0.0.1 it will not work.

So I'm convinced that was the root cause of my problem, spampd set to use localhost when postfix is set to use 127.0.01 explicitly.

If anyone can explain the detailed why I am curious to know.

It's fairly simple: *anywhere* you configure a loopback in the modern world, you need to use the same way of doing it, and sticking with a loopback IP instead of "localhost" is the best approach because different software (e.g. spampd and Postfix) may resolve the name differently to only either a v4 or v6 address. Generally speaking, when configuring any listener, using an explicit address is the best approach because that way you don't have the potential for the name being resolved in unexpected ways

Thanks. That is what I did with postfix's conf and now with spampd's config.

-Curt
_______________________________________________
Postfix-users mailing list -- postfix-users@postfix.org
To unsubscribe send an email to postfix-users-le...@postfix.org

Reply via email to