Lindsay Haisley writes:

On Tue, 2015-03-17 at 14:21 -0700, Gordon Messmer wrote:

> :0000:0000:0000:0000:0000:0000:0000:0001   allow,BLOCK,RELAYCLIENT

Are you sure about the leading ":"?  A leading colon isn't part of a
fully expanded v6 address.  The web UI didn't do the expansion, but
simply posts the standard contracted form as per RFC 2373, 2.2.2 as
entered.  What's the library that handles expansion of v6 notation?

I'll look it up in couriertcpd doc.

Yes, that's correct. This Courier-specific notation, and stems from the fact that you can specify prefixes,

10      block

Would block connections from 10.0.0.0/8

But is it that, or 0010::/112?

In reality, there is really no ambiguity, since IPv6 addresses in the smtpaccess file should be at least four character, since, for IPv6 addresses, the leading 0s in each word must be specified, so it would really be

0010    block

Still, this could be confusing, so prepending a colon, in front of IPv6 addresses, should be sufficient distinction.

Attachment: pgpKB_K0kEnC1.pgp
Description: PGP signature

------------------------------------------------------------------------------
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the 
conversation now. http://goparallel.sourceforge.net/
_______________________________________________
courier-users mailing list
courier-users@lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users

Reply via email to