On Mon, Aug 30, 2010 at 04:58:48PM +0200, Patrick Ben Koetter wrote:

> * Victor Duchovni <postfix-users@postfix.org>:
> > > Is "smtp:%s" sufficient? IIRC the main mail address is noted as 
> > > "SMTP:%s". A
> > > query that catches those too would be this:
> > 
> > The proxyAddresses field is matched case-insensitively. No fancy gymnastics
> > required:
> > 
> > >      query_filter = (|(proxyAddresses=smtp:%s)(proxyAddresses=SMTP:%s))
> > 
> > The first string matches both.
> 
> Case-insensitive because the matching rule for proxyAddresses is
> case-insensitive?

Yes, naturally. The case of the "smtp" prefix only matters when it
is used as a result value, not when it is a lookup key.

-- 
        Viktor.

Reply via email to