On Sat, Jan 12, 2013 at 01:51:26PM +0100, LEVAI Daniel wrote:
> How should I put this... My question is not in regards to how to store
> IP networks (w/ CIDR postfix) in PostgreSQL; this is somewhat given.

PostgreSQL handles CIDR with some special functions and operators. See
http://www.postgresql.org/docs/9.2/interactive/functions-net.html

> My question is how can I make Postfix understand the IP/CIDR notation
> for `check_client_access = proxy:pgsql' checks, when the SQL query
> returns not a single IP or a subnet (by leaving the decimal octets from
> the end of the IP address), but a network address using CIDR notation
> (eg.: 1.1.1.1/20).

No. If it is not documented, it does not exist.

Bastian

-- 
Youth doesn't excuse everything.
                -- Dr. Janice Lester (in Kirk's body), "Turnabout Intruder",
                   stardate 5928.5.

Reply via email to