Re: [Exim] alias per domain in mysql

Página superior
Eliminar este mensaje
Responder a este mensaje
Autor: Philip Hazel
Fecha:  
A: Konstantin Kletschke
Cc: exim-users
Asunto: Re: [Exim] alias per domain in mysql
On Tue, 17 Jul 2001, Konstantin Kletschke wrote:

> alias_domain:
>   domains = mysql;MYSQL_LOCALDOMAINS
>   driver = aliasfile
>   search_type = mysql
>   query = "select zieladdresse from
>   alias_${tr{${domain}}{-\.}{\_}} \
>         where username='$local_part'"

>
> which works fine, but this
>
> virtual-banking:        luemmel@???
> *:                      luemmel2@???

>
> asterisk must be handled otherwise, but how?


Check out the "queries" option.

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