[BlueOnyx:26492] Re: The Postfix learning curve continues

Chad Bersche chad at bersche.com
Wed Sep 20 19:47:24 -05 2023


Hi Michael.

I'm resurfacing an issue from about a month ago, on my transition to 
Postfix.  I've simply not had the time to worry about my internal stuff 
not working, until now.

Your original recommendation was:

"Change your "mynetworks" line in /etc/postfix/main.cf to something like
this if you want to allow the whole 192.168.0.0/16 network to be able to
relay through it:

mynetworks = 127.0.0.0/8 [::1]/128 192.168.0.0/16

Then restart Postfix and see if that helps:

systemctl restart postfix"


I did this, but find that, when I execute the postfix restart, them 
main.cf gets rewritten, and mynetworks is updated to:

mynetworks = 127.0.0.0/8 127.0.0.1/32 [::1]/128 192.168.0.212/32 
192.168.0.213/32 192.168.0.214/32

the 192*/32 address correlate to the vSites that I have configured.  I'm 
not sure how I can prevent this from getting overwritten, as when I did 
add the 192.168.0.0/16, it was removed, and replaced as I showed above.

Hoping to get this all working, now that I have a bit more time to 
dedicate to it.

Thanks!

   -- Chad





More information about the Blueonyx mailing list