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

Αρχική Σελίδα
Delete this message
Reply to this message
Συντάκτης: Philip Hazel
Ημερομηνία:  
Προς: Abaddon
Υ/ο: exim-users
Αντικείμενο: 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.