Re: [Exim] Questions about database lookups

Kezdőlap
Üzenet törlése
Válasz az üzenetre
Szerző: Jez Hancock
Dátum:  
Címzett: Rossz Vamos-Wentworth, Exim-users
Tárgy: Re: [Exim] Questions about database lookups
On Mon, Feb 09, 2004 at 10:24:34AM +0000, Jez Hancock wrote:
> Hi Rossz,
>
> On Sat, Feb 07, 2004 at 06:52:27PM -0800, Rossz Vamos-Wentworth wrote:
> > When getting a sql generated list of items that are normally seperated
> > by colons, do I need to concat them with colons or can I use the list
> > raw. For example, would this work?:
> >
> > domainlist local_domains = localhost : \
> > ${lookup mysql{select unique domain from domains}}

                            ^^^^^^
PS - this should be 'distinct' instead of 'unique'.



--
Jez Hancock
- System Administrator / PHP Developer

http://munk.nu/
http://jez.hancock-family.com/  - Another FreeBSD Diary
http://ipfwstats.sf.net/        - ipfw peruser traffic logging