Re: [exim] MySQL table lookup..

Pàgina inicial
Delete this message
Reply to this message
Autor: Nico Erfurth
Data:  
A: Hubert Denkmair, exim-users
CC: 
Assumpte: Re: [exim] MySQL table lookup..
Hubert Denkmair wrote:
> You could try to use a LIKE in your SQL query:
> SELECT '$sender_host_address' FROM global_backlist WHERE
> '$sender_host_address' LIKE CONCAT(address,'%')


This would result in a full table scan, every time the lookup is done.

Nico