Re: [Exim] substituting $local_part after mysql query

Página superior
Eliminar este mensaje
Responder a este mensaje
Autor: Philip Hazel
Fecha:  
A: Peter Lockhart
Cc: exim-users
Asunto: Re: [Exim] substituting $local_part after mysql query
On Mon, 17 Apr 2000, Peter Lockhart wrote:

> I am setting up a mysql-driven exim to deliver mail to non-system users.
>
> My director:
>
> mysql_system_aliases:
> driver = aliasfile
> search_type = mysql
> query = "select userid from domain_table where aliasid='$local_part'
> and domain='$domain'"
> transport = local_delivery

    ^^^^^^^^^^^^^^^^^^^^^^^^^^
    ^^^^^^^^^^^^^^^^^^^^^^^^^^
This is your problem. Aliasfile operates *entirely differently* if you 
give it a transport. Take that away, and it will do normal aliasing, 
that is, turn one address into another, which is independently 
processed.



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