[Exim] local_scan hints.. (expand)

Etusivu
Poista viesti
Vastaa
Lähettäjä: Abaddon
Päiväys:  
Vastaanottaja: exim-users
Aihe: [Exim] local_scan hints.. (expand)
This is a multi-part message in MIME format.
--
[ Picked text/plain from multipart/alternative ]
Hello,

1. Cant i expand mysql querys in local_scan ?

local_scan.c:

int blah = (int)expand_string(test_int);

configure:

test_int = ${lookup mysql {MYSQL_TEST}{$value}}

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 ?


2. Is there someway in local_scan, so i can get the message ID or
to know the path of the message in the spool ?

Abaddon
--