Re: [exim] match_domain from mysql lookup

Page principale
Supprimer ce message
Répondre à ce message
Auteur: W B Hacker
Date:  
À: exim users
Sujet: Re: [exim] match_domain from mysql lookup
guard wrote:
> Hello,
> is any way to match_domain from mysql query?


You may not need or want to use them together.

Either one can probably do what you need w/o the other.

> Query returns many domains like:
> domain1.tld
> *.tld
> etc.
> how can I match it?


Given that you haven't shown us the code you are having trouble with, nor
described where used, what you seek, how the MySQL DB is structured...?

'bout all that can be said is 'with a more specific SQL query'

> Or should I use external script?


Depending on what you are trying to accomplish and what information you have
available, you might use an SQL DB, a DB, CDB, flat file, hostlist...

An external script is probably not required even if you are seeking to do
something unusual.

Bill