Re[2]: [Exim] 2 mysql lookups in local_domains?

Top Page
Delete this message
Reply to this message
Author: William X Walsh
Date:  
To: Tamas TEVESZ
CC: exim-users
Subject: Re[2]: [Exim] 2 mysql lookups in local_domains?
Sunday, Sunday, August 26, 2001, 1:49:08 AM, Tamas TEVESZ wrote:

> On Sun, 26 Aug 2001, William X Walsh wrote:


> > local_domains = elrond.dso.net:localhost:mysql;select domain_name from
> > domain where domain_name='$key':mysql;select domain_name from
> > other_domains where domain_name='$key'


> mysql; select domain.domain_name, other_domains.domain_name from
> domain,other_domains where domain.domain_name-'key' or
> other_domains.domain_name='$key'


> ?


This seems to fail unless the domain exists in both tables.

Any idea how to make it so that if the domain exists in either table,
it will return positive?


--
Best regards,
William X Walsh <william@???>
Userfriendly.com Domains
The most advanced domain lookup tool on the net
DNS Services from $1.65/mo