Justin,

> The docs imply that the searches are done in order.  You definitely want
> settings in [EMAIL PROTECTED] overriding @host.com, so order is important.
> Does anyone know - do the SQL lookups build one SQL request, or are they
> done sequentially?
>
> If they're done in one request, at least the filter should be built
> correctly.  But it seems to me that sequential requests would be more
> correct.

SQL lookups build one SELECT request for all relevant keys
and obtains all fields in one go. The result is then sorted on
the 'priority' field, and the first matching record wins.
So yes, the order matters, and you do get the right result
even with a single query.

  Mark


-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
AMaViS-user mailing list
AMaViS-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/amavis-user
AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3
AMaViS-HowTos:http://www.amavis.org/howto/

Reply via email to