Matthew Yette wrote:

>So to clear up the custom SQL query that's in your presentation:
>
>It says to use global and then domain level defaults: 
>SELECT preference, value FROM _TABLE_ WHERE username = _USERNAME_ or
>username = '@GLOBAL' or username = _DOMAIN_ order by username ASC 
>
>Does that mean, if a rule exists both globally and domain-based - the
>domain one will take precedence? Or the global one? I would assume
>domain-based - that seems the more logical route?
>
>  
>
Not sure if you mean rule there or just general config options.  Try
performing the query yourself and see how it comes out.  It should work
this way, although it is very easy to change the behavior, user
overrides domain, domain overrides global.  Basically, the query is
passed into the config parser in a similar way that it is when read from
a .cf file, so it will have the same sort of behavior based on where it
comes in that stream.

Michael

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to