Hi

On 04.11.21 10:20, Ansgar Wiechers wrote:
On 2021-11-04 Matus UHLAR - fantomas wrote:
Are IP ranges (IP1-IP2) supported in mynetworks,
smtpd_client_event_limit_exceptions or access lists?

If so, in what format?

192.168.0.10-192.168.0.100
192.168.0.10-100
[...]
According to the documentation you can specify subnets, but not
arbitrary ranges.

netmask to the rescue:
~$ netmask -c 192.168.0.10:192.168.0.100
   192.168.0.10/31
   192.168.0.12/30
   192.168.0.16/28
   192.168.0.32/27
   192.168.0.64/27
   192.168.0.96/30
   192.168.0.100/32

So that's what you want to put into your mynetworks table in order to define the range you mean in as few networks as possible.

Cheers,
Tobias

Attachment: OpenPGP_0x6D7525A1BB6064D9_and_old_rev.asc
Description: OpenPGP public key

Attachment: OpenPGP_signature
Description: OpenPGP digital signature

Reply via email to