Thank you, Alexander, Matus, Jaroslaw, Peter, and Bill, just the kind of ideas I was looking for.

My old postfix server is running 2.11 and I have not dealt much with postfix really since then because like I said it just worked, did what I needed it to do. Currently I'm working with 3.9 and I expected there to be changes.

So no I did not validate that spamassassin was using 127.0.01 *and* ::1 because I was not expecting it too. Like I said the new server is configured as a carbon copy of the old server and the old server does not use ::1. When I say carbon copy I diff -y the config files and go through them line by line.

Yes spamassassin is listening on 10025, amavis on 10024.

netstat -tapn |grep :100
tcp        0      0 127.0.0.1:10024         0.0.0.0:* LISTEN      4866/amavisd (maste
tcp        0      0 127.0.0.1:10025         0.0.0.0:* LISTEN      4791/perl
tcp        0      0 0.0.0.0:10026           0.0.0.0:* LISTEN      4952/master
tcp        0      0 :::10026                :::* LISTEN      4952/master

I had not been using a global "mynetworks =" in the old server or the new server only using "-o mynetworsk =" where needed and no ::1 was not in any of them. Did not need to be because it worked without that on the old server. I did try a:
"mynetworks = 127.0.0.0/8, 192.168.0.0/24"
on the new server but that did not fix the problem I was having.

Well Peter all the "mynetworks =" that I have defined explicitly state 127.0.0.1 not localhost and all the logging shows 127.0.0.1 not localhost. So that is why I say I am using 127.0.0.1. So I cannot follow Ralph's suggestion changing localhost to 127.0.0.1 because there are no localhost's used in the configs to change.

Also, smtp_address_preference is not set to anything on the old server, it is set to "any" in the new server and I think you hit on the why I was looking for, thank you. Wonder if the default setting in 2.11 is ipv4 and not "any". I was not aware of that parameter until you mentioned it and things like that are exactly why I started this thread.

And I don't have compatibility_level set in the old sever either, it is set to 3.9 in the new server. Another one I was not aware of.

Even though I did a line by line config comparison I glossed over things that weren't in the old and the new. I see in this case that was a mistake, those parameters by name are enough to clue me in. I will look to see what SA is set to use but I bet you're right.

Again, thanks all, this really helps and I'm bet'n I'll be able to set "inet_protocols = all" shortly.




On 6/28/24 08:04, Bill Cole via Postfix-users wrote:
On 2024-06-28 at 05:23:27 UTC-0400 (Fri, 28 Jun 2024 11:23:27 +0200)
Matus UHLAR - fantomas via Postfix-users <uh...@fantomas.sk>
is rumored to have said:

Who exactly listens on port 10025? looks like postfix sends mail to itself, or is it another postfix instance?

Historically that has been a port commonly used for the SMTP proxy form of filtering using Amavis. Since SpamAssassin has no SMTP proxy function and his logs show both sides of a SMTP chat between 2 smtpd processes, I think Amavis is the most likely thing listening.


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

Reply via email to