exemption from MYNETS

Patrick Ben Koetter p at sys4.de
Wed Apr 17 18:38:38 CEST 2019

* Matus UHLAR - fantomas <uhlar at fantomas.sk>:
> Hello,
> is it possible to define an IP that would be exempt from @mynetworks?

It should be. You need to prepend an exclamation mark to negate (return:
false) like this:

  given: @acl = qw( ! !
                    ! !:: ::1 );
  matches rfc1918 private address space except host
  and net 172.16.3/24 (but host within 172.16.3/24 still matches).
  In addition, the 'unspecified' (null, i.e. all zeros) IPv4 and IPv6
  addresses return false, and IPv4 and IPv6 loopback addresses match
  and return true.
  -- https://gitlab.com/amavis/amavis/raw/development/README_FILES/README.lookups

[*] sys4 AG
https://sys4.de, +49 (89) 30 90 46 64
Schleißheimer Straße 26/MG,80333 München
Sitz der Gesellschaft: München, Amtsgericht München: HRB 199263
Vorstand: Patrick Ben Koetter, Marc Schiffbauer, Wolfgang Stief
Aufsichtsratsvorsitzender: Florian Kirstein

More information about the amavis-users mailing list