Re: [exim] Local and virtual domains

Pàgina inicial
Delete this message
Reply to this message
Autor: zbynh@seznam.cz
Data:  
A: exim-users
Assumpte: Re: [exim] Local and virtual domains
Peter Bowyer píše v Po 07. 02. 2005 v 15:17 +0000:
> On Mon, 07 Feb 2005 16:12:00 +0100, zbynh@??? <zbynh@???> wrote:
>
> > domainlist local_domains = lists.x.cz:luxik.x.cz:/etc/mail/locdom:
> > ${lookup mysql {SELECT userid FROM domains \
> >    WHERE userid="${quote_mysql:${domain}}" }}

>
> You don't use $lookup to initialise a domainlist. Use
>
> domainlist local_domains = mysql;SELECT userid FROM domains ....
>
> instead.
>
> http://www.exim.org/exim-html-4.40/doc/html/spec_9.html#CHAP9
>


I hanged local_domains as follows:

domainlist local_domains = lists.x.cz:luxik.x.cz:/etc/mail/locdom: \
        mysql;SELECT userid FROM domains WHERE userid='$key';



but I get same message in log file

2005-02-07 16:30:20 lowest numbered MX record points to local host:
test.cdi.cz (while verifying <zbynek@???> from host
[192.168.254.107])
Feb 7 16:30:20 luxik exim[6859]: 2005-02-07 16:30:20
H=[192.168.254.107] F=<zbynek@???> temporarily rejected RCPT
zbynek@???: lowest numbered MX record points to local host

I use exim v. 4.

> Peter
>


Zbynek
--
zbynh@??? <zbynh@???>