Autor: Wakko Warner Fecha: A: Sam Michaels Cc: Exim List Asunto: Re: [Exim] Multiple rows from a MySQL query
> Just upgraded to Exim4 and decided to do some new fancy DB routines.... >
> Do the MySQL lookups support having multiple rows returned?
>
> I'm attempting to create an alias router that will forward an alias to
> multiple addresses. Traditionally I'd just add
> "xxx:user1@domain,user2@domain" in the aliases file...but I don't see
> anything in the Exim docs about handling multiple rows or anything in the
> MySQL docs about combining multiple rows into a single concatentated string.
Read the spec for the redirect router. the data = will accept \n seperated
addresses. If you do an SQL lookup that returns 1 column (the destination)
and multiple rows, this should work.
--
Lab tests show that use of micro$oft causes cancer in lab animals