Re: [Exim] local_scan hints.. (expand)

Page principale
Supprimer ce message
Répondre à ce message
Auteur: Philip Hazel
Date:  
À: Abaddon
CC: exim-users
Sujet: Re: [Exim] local_scan hints.. (expand)
On Fri, 24 Jan 2003, Abaddon wrote:

> 1. Cant i expand mysql querys in local_scan ?


You can run any expansion.

> MYSQL_TEST = SELECT test FROM mail WHERE domain  = '${quote_mysql:$domain}' \
>              AND user  = '${quote_mysql:$local_part}'


> On mysql i get :
>
> SELECT test FROM mail WHERE domain = "" AND user = ""
>
> where are those missing values ? :) an i missing something ?



Yes you are missing something. Hint: a message may have more than one
recipient.


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