Re: [Exim] local_domains from mysql dont work

Etusivu
Poista viesti
Vastaa
Lähettäjä: ODHIAMBO G. Washington
Päiväys:  
Vastaanottaja: exim-users
Kopio: patrick.thomas
Aihe: Re: [Exim] local_domains from mysql dont work
* Patrick Thomas <patrick.thomas@???> [20030513 12:35]: wrote:
> Hi,
>
> I am using exim-4.14-5 and what to use virtual domains for mail hosting.
>
> This is my /etc/exim/configure
>
> LOCAL_DOMAINS = select domain_name from ms_domain where domain_name =
> '$domain'
> domainlist local_domains = LOCAL_DOMAINS



What you need is

domainlist local_domains = mysql;LOCAL_DOMAINS


I hope that will work. Though I think you could do something like



virtual_domains = mysql;select 1 from ms_domain where domain_name='${quote_mysql:$domain}'

Then have

domainlist local_domains = primary_host_name : +virtual_domains



-Wash

--
Odhiambo Washington   <wash@???>  "The box said 'Requires
Wananchi Online Ltd.  www.wananchi.com      Windows 95, NT, or better,'
Tel: +254 2 313985-9  +254 2 313922         so I installed FreeBSD."
GSM: +254 72 743223   +254 733 744121       This sig is McQ!  :-)



It's a damn poor mind that can only think of one way to spell a word.
        -- Andrew Jackson