[Exim] Exim forwarding query with mysql

Páxina inicial
Borrar esta mensaxe
Responder a esta mensaxe
Autor: ??????
Data:  
Para: exim-users
Asunto: [Exim] Exim forwarding query with mysql
<-- Warning: charset 'ks_c_5601-1987' is not supported -->

> I'm using exim for my MTA.?
> Now U'm setting Exim's forwarding..?
> ?
> I added below line in my Director.?
> ?
> ----------------------------------------------------------------------?
> ?
> Forwarding:?
>   driver = aliasfile?
>   search_type = mysql?
>   query = ${lookup mysql{MYSQL_FORWARDING}{$value}}?
>   forbid_file = true?
>   forbid_pipe = true?
>   no_verify?
>   no_expn?
> ?
> ----------------------------------------------------------------------?
> And I added below part too, for mysql query but I don't know how do I write down.?
> ----------------------------------------------------------------------------------?
> MYSQL_FORWARDING = SELECT alt_email from forwarding as f,users where s.uid = no \?
>                     and id ='${quote_mysql:$local_part} \?
>                     and alt_email = '${quote_mysql:$******_address}'?
> ----------------------------------------------------------------------------------?
> ?
> What I'm wonder is is there any parameter which can I user in this part "$******_address" ??
> For spam function I used $sender_address but in this case I think I must write down forwarding address that I get from $alt_email(ex) amour01@???) from user..?
> ?
> I'll wait your reply.?
> Thank you~!?
> ?

?
-- ?
?