Darren Pilgrim: > The man pages given in the subject both state an IPv6 address "is a > sequence of three to eight hexadecimal octet pairs separated by ':'." > > I find that a tad unclear. How is :: handled? Can I put 2001:db8:1::1 > or do I need to enter it as 2001:db8:1:0:0:0:0:1? Does the format > support trimming leading zeroes from each octet pair?
This text is talking about ADDRESS notation. Postfix supports the "short-hand" notation that replaces a sequence of 0 bytes in an IP address by ::. > IPv6 prefixes that should match 2001:db8::/32 and fe80::/16, > respectively, per the search algorithm, but they have less than two > octet pairs. You are now talking about a PREFIX. A PREFIX is not an ADDRESS. The ADDRESS is 3-8 fields separated by :. The PREFIX is created by dropping ":octetpair" from the IPv6 address. Wietse