Vincent Lefevre:
> On 2010-11-04 19:06:57 -0500, Stan Hoeppner wrote:
> > check_client_access pcre:/etc/postfix/filter.pcre
> > check_sender_access pcre:/etc/postfix/filter.pcre
> > check_recipient_access pcre:/etc/postfix/filter.pcre
> >
> > As you can see, this is defined by the smtpd_foo_restriction you target
> > the PCRE table with. What is checked against the table is dependent on
> > the restriction used. Read the documentation for each check_*_access
> > restriction above at: http://www.postfix.org/postconf.5.html
>
> On this page, it is said:
>
> check_client_access type:table
> Search the specified access database for the client hostname,
> ^^^^^^^^^^^^^^^
> parent domains, client IP address, or networks obtained by
> ^^^^^^^^^^^^^^^^^
> stripping least significant octets. See the access(5) manual page
> for details.
>
> And in the access(5) manual page:
>
> Depending on the application, that string is an entire client
> hostname, an entire client IP address, or an entire mail address.
>
> So, which string is checked when a pcre table is used with
> check_client_access? The client hostname or the client IP address?
check_client_access searches the address and domain with ALL lookup
table types. It just doesn't do the substring lookups with PCRE,
REGEXP and CIDR.
Wietse