Cannot put IP range in mynetworks postfix main.cf

If I edit main.cf for Postfix and comment out mynetworks_style and add in

mynetworks = 192.168.26.201

and restart postfix, I can connect to it from that address.

However if I try to add any addresses in the IP range format:

mynetworks = 192.168.26.0/255

Postfix does not accept any connections from any machine in this range.

Is there something special about using an IP range that I am missing?

On 10/28/2008 jbailo wrote:
> MYNETWORKS = 192.168.26.0/255

Assuming your netmask is 255.255.255.0, try
MYNETWORKS = 192.168.26.0/24

HTH
Uwe

Wow that worked!

I guess I don’t understand the n/n syntax for an IP range.

Found this:

Tech Info - IP Subnets and Stuff

On 10/28/2008 jbailo wrote:
> I guess I don’t understand the n/n syntax for an IP range.

I have to look it up, too :slight_smile:
Glad I could help.

Uwe