mynetworks = hash:/etc/postfix/network_table

After much looking and I surmise the format should be
192.168.1.2 OK   (a space between IP and "OK")
"should work"..
For hash: or cidr: (see cidr_table(5)), yes.

and that CIDR
192.168.1.0/24 OK   (a space between IP and "OK")
does not work.
For hash:, no, won't work; for cidr:, yes, it will.

     http://www.postfix.org/DATABASE_README.html

In my test  the "single IP" did not work either..

May 6 17:30:03 mailhost postfix/smtpd[30135]: NOQUEUE: reject: RCPT
from host.example.com [162.198.1.2]: 554 5.7.1<[email protected]>:
Relay access denied;
Not enough information to answer, but there is a strong hint that
munging took place: 162.198.1.2 != 192.168.1.2. (Why would you mung
RFC1918 addresses?)

     http://www.postfix.org/DEBUG_README.html#mail
162 was a typo...
Thank you for the response..and the cidr link..

Charles

Reply via email to