Re: [Exim] alias per domain in mysql

Kezdőlap
Üzenet törlése
Válasz az üzenetre
Szerző: Philip Hazel
Dátum:  
Címzett: Konstantin Kletschke
CC: exim-users
Tárgy: 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.