Re: [Exim] recipients_reject_except & Mysql

Pàgina inicial
Delete this message
Reply to this message
Autor: Philip Hazel
Data:  
A: David Saez Padros
CC: exim-users
Assumpte: Re: [Exim] recipients_reject_except & Mysql
On Fri, 27 Jul 2001, David Saez Padros wrote:

> where it would be more efficient to do:
>
> recipients_reject_except = mysql;select email from norbl where email='$key'
>
> but $key seems to be the domain of the recipient instead the recipient address
> (maybe $key is not set at all and it just has a value used in a previous search)


It *should* (I have not checked this particular case explicitly) do TWO
queries in that case, the first with $key=$domain, and the second with
$key=address.

> Do you mean that it will do two queries on recipients_reject_except, one
> with $key=domain and another one with $key=email@??? ??


Yes. That is what it should do. Read section 7.16 in the manual, the
second bullet point.

-- 
Philip Hazel            University of Cambridge Computing Service,
ph10@???      Cambridge, England. Phone: +44 1223 334714.