On 21/02/2012 18:41, Wietse Venema wrote:
Martin Mielke:
mynetworks = hash:/etc/postfix/network_table
...
# postmap -q 1.2.3 /etc/postfix/network_table
OK
...
Where does the POSTFIX documentation say that you can specify
less than 4 octets in a mynetworks table?

        Wietse

Perhaps it's just a typo on his side and he meant 1.2.3.4 as per his question?

The docs list a suggestion of a hash map for network_table:
    http://www.postfix.org/postconf.5.html#mynetworks

How would that actually work if you used a hashmap though? What would the contents of the hash map actually look like..?

I think you are saying that cidr map would make more sense here anyway? Could/should the docs perhaps be updated to show that suggestion?

Thanks for postfix!

Ed W

Reply via email to