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]

--
Matus UHLAR - fantomas, uh...@fantomas.sk ; http://www.fantomas.sk/
Warning: I wish NOT to receive e-mail advertising to this address.
Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu.
Microsoft dick is soft to do no harm
_______________________________________________
Postfix-users mailing list -- postfix-users@postfix.org
To unsubscribe send an email to postfix-users-le...@postfix.org

Reply via email to