On 29/06/24 18:09, Curtis J Blank via Postfix-users wrote:
I don't know how  many times now I have said this but I will day it again.

I have postfix set up to only listen on/use  127.0.0.1 *not* ::1.

What postfix listens on is irrelevant, this has to do with which IP postfix connects to spampd with.

And. I am not using spamd, it listens on port 783. I am using spampd which shows up as perl because is it written in perl and it listens on 10025.

Okay, but that does not change things.

Here is the proof:

new:/etc/postfix # netstat -putan |grep -e ^Active -e ^Proto -e 127\.0\.0\.1\: -e \:\:1\:

This shows nothing of interest, except that perl is only listening on 127.0.0.1 which we already knew because you changed that setting just now.

Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address           Foreign Address State PID/Program name
tcp        0      0 127.0.0.1:631           0.0.0.0:* LISTEN 2360/cupsd
tcp        0      0 127.0.0.1:783           0.0.0.0:* LISTEN 2441/spamd
tcp        0      0 127.0.0.1:10024         0.0.0.0:* LISTEN 5063/amavisd (maste
tcp        0      0 127.0.0.1:10025         0.0.0.0:* LISTEN 13980/perl
tcp6       0      0 ::1:783                 :::* LISTEN      2441/spamd
tcp6       0      0 ::1:631                 :::* LISTEN      2360/cupsd
tcp6       0      0 ::1:10024               :::* LISTEN 5063/amavisd (maste
udp        0      0 127.0.0.1:323 0.0.0.0:* 2399/chronyd
udp        0      0 127.0.0.1:659 0.0.0.0:* 2580/rpc.statd
udp6       0      0 ::1:323 :::* 2399/chronyd
new:/etc/postfix #

So you said " Ideally you want to either configure postfix to never try to connect to ::1 (but only connect to 127.0.0.1)".

That is one of two possible solutions that I proposed.

That is what I want and I've been saying all along that that is how I have it configured. Unless I'm totally not understanding something here...

You are confusing outbound connections with inbound (listening) connections. You are also confusing what different settings do. It is obvious that postfix is configured to connect to ::1 because it *is* attempting to connect to ::1. Postfix does not go against its configuration.

content_filter = scan:[127.0.0.1]:10025

This is the setting that controls the connection, but it's connecting through the scan: service which is defined in master.cf. As previously requested, please show the output of:

postconf -Mf


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

Reply via email to