On 6/29/24 04:01, Matus UHLAR - fantomas via Postfix-users wrote:
On 29.06.24 01:41, Curtis J Blank via Postfix-users wrote:
No I am not confusing inbound and outbound

not you, someone other perhaps :-)

and for this I'm only concerned about inbound and actually only on ports 10024-26 that are for lack of a better way to put it a customization.

:10026     inet  n       -       n -       10      smtpd
...
    -o smtpd_recipient_restrictions=permit_mynetworks,reject
    -o mynetworks=127.0.0.0/8

This is the problem, together with setting spampd to deliver to "localhost".

This causes acept mail on port 10026, both ipv4 and ipv6 (when inet_protocols set to "all") but if spampd is set to deliver to "localhost" and uses ipv6, all the recipients are rejected because ipv6 localhost is not in mynetworks.

if you want this settings work with ipv6 too, you must add [::1] to mynetworks:

    -o mynetworks=127.0.0.0/8,[::1]

I do not necessarily want it to work with ::1, this is how spampd is current running:

SPAMPD_OPTIONS="--host=127.0.0.1:10025 --relayhost=127.0.0.1:10026 --user=vscan --tagall --children=5 --maxsize=7168 --homedir=/home/vscan"

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

Reply via email to