On Mon, 2016-04-11 at 14:55 +0000, Helmut Schneider wrote: > > Hi, > > for more than 6 months I'm trying to fix ALL_TRUSTED=-1 without > success. > > I have read https://wiki.apache.org/spamassassin/TrustPath and > https://wiki.apache.org/spamassassin/FixingAllTrusted carefully, put > > trusted_networks 10.0.0.0/8 172.16.0.0/12 192.168.0.0/16 > internal_networks 10.0.0.0/8 172.16.0.0/12 192.168.0.0/16 > You do realise that 172.12.0.0 is equal to 172.20.8.13 if you compare them using only the top 12 bits?
172.16 is 10101100,00010000 and 20 is 10101100,00010100 but mask the bit patterns to retain only the top 12 bits, which is what specifying /12 effectively does when you're comparing IPV4 addresses, and both become 10101100,00010000 Martin