Re: [Exim] alias per domain in mysql

Pàgina inicial
Delete this message
Reply to this message
Autor: Philip Hazel
Data:  
A: Konstantin Kletschke
CC: exim-users
Assumpte: 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.