|
Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com |
From: MacShane, Tracy (Tracy.Macshane
AirservicesAustralia.com)
Date: Sun May 04 2008 - 18:37:37 CDT
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
> -----Original Message-----
> From: owner-postfix-users
postfix.org
> [mailto:owner-postfix-users
postfix.org] On Behalf Of Wietse Venema
> Sent: Friday, 2 May 2008 9:10 PM
> To: MacShane, Tracy
> Cc: postfix-users
postfix.org
> Subject: Re: Parent domains confusion?
>
> MacShane, Tracy:
> > However, if I try to query the access map using postmap -q,
> nothing is
> > returned:
> >
> > [smtp3]# postmap -q "cpe-74-76-15-20.nycap.res.rr.com"
> > hash:/etc/postfix/client_access
> > [smtp3]#
> >
> > ...
> > Running similar queries on PCRE and CIDR maps works as expected (ie.
> > values like REJECT and OK are returned).
>
> The behavior of PCRE/CIDR maps is documented in the access table.
>
> The postmap -q command does not generate subnet or parent
> domain queries.
>
> If I find the time I may add postmap options to simulate
> subnet/parent domain queries; I recently added command-line
> options to simulate header_checks (multi-line) and
> body_checks queries, but I can't implement everything before
> people need it.
>
> In the end, the substring query magic needs to be implemented
> as reusable functions, so that it can be reused in postmap,
> instead of being duplicated there.
>
> Wietse
>
That's great; thanks for the explanation. If a method of simulating a
parent domains lookup becomes available, that would be fantastic, but at
least it's the expected behaviour at present.
Tracy
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]