Stan Hoeppner: > Noel Jones put forth on 9/24/2010 7:43 AM: > > Stan Hoeppner wrote: > >> /\[([0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3})\]/ all_rbls > >> > >> It only matches on a dotted quad enclosed in []. It won't match on the > >> rdns name, or lack thereof (unknown). > > > > No, the table is searched twice; first with the hostname (or unknown) > > and then with the bare IP -- no brackets. Carefully read access(5) > > several times. > > I read it at least 5 times. And double search is the conclusion I came > to. I needed confirmation though (as you'll see in the message I posted > before reading yours), which you graciously provide here. Thanks for > the authoritative confirmation Noel.
Postfix has table-DRIVEN mechanisms (access, aliases) and table LOOKUP mechanisms (btree, mysql). The access(5) manpage documents the table-DRIVEN mechanism and extensively describes both hostname and network address lookups. The details of table LOOKUP mechanisms are competely neutral with respect to the table-DRIVEN mechanism that rides on top. The table-DRIVEN mechanisms are mostly neutral with respect to the table LOOKUP mechanisms underneath. With pattern-based lookup mechanisms, regexp/pcr/cidr, parent domain and subnet address lookups are not done. Wietse