Jakob Hirsch píše v Po 07. 02. 2005 v 16:57 +0100:
> zbynh@??? wrote:
>
> > domainlist local_domains = lists.x.cz:luxik.x.cz:/etc/mail/locdom: \
> > mysql;SELECT userid FROM domains WHERE userid='$key';
>
> And how does your table 'domains' look like? A column named 'userid'
> does not sound like it contains a domain name, and exim expects to get
> back a domain name (like "somedomain.net") from the query.
column userid contains just domain name
>
> I use the database-scheme from vmail-sql
> (www.ex-parrot.com/~chris/vmail-sql/) with the exim-config updated to Exim4:
>
and I just used this one
http://www.tty1.net/virtual_domains_en.html
> domainlist local_domains = mysql;SELECT domain_name FROM domain WHERE
> domain_name = '${quote_mysql:$domain}'
>
> (I can also post the routers and transports if you like)
yes, I would appreciate it.
>
> $key is something from the Exim3 age, AFAIK you cannot use it with Exim4
> any more.
> And you should really use quote_* for any user-given data.
>
Zbynek
--
zbynh@??? <zbynh@???>