On 12/22/2021 2:13 AM, lad bma wrote:
Suppose I have
mynetworks = 88.103.239.195 88.103.239.2
As you can see these IP addresses are in C classs IP address list.
How can I use a slash notation so that I can use only one address?
I tried something like 88.103.239.195/24 but it does not work,
if my
address is 88.103.239.2
The way you have it listed with just the bare IP address will cause
postfix to use just that one host.
To specify one host with CIDR notation, use /32. So 88.103.239.2/32
is a non-ambiguous way to specify a single host.
If you use /24, it will cause postfix to trust all hosts in the
88.103.239.0-255 subnet, which may not be appropriate.
For more info on CIDR or "slash notation" you can start here:
https://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing
-- Noel Jones