juanluisbaptiste/docker-postfix

Add 127.0.0.0/8 to mynetworks

ondrejkolin opened this issue · 1 comments

I am using this container in podmans pod, which share infrastructure for networking, so connections appear to be localhost. If the allowed network doesn't contain 127.0.0.1 the unauthecated TCP connection was not allowed. The network range could be modified not to include all the IP addresses.

mynetworks = 10.0.0.0/8, 172.16.0.0/12, 192.168.0.0/16, 127.0.0.0/8

I hope it's clear, I can share more details from my setup, if it's necessary.

Nevermind, this can be solved by changing the default SMTP_NETWORKS value. This fixes the issue of course I misunderstood the documentation when reading it first.