Re: [Exim] mailhubbing

Top Page
Delete this message
Reply to this message
Author: Nico Erfurth
Date:  
To: linux
CC: exim-users
Subject: Re: [Exim] mailhubbing
Mozzi wrote:
> On Tuesday 18 March 2003 16:04, you wrote:
>
>>On Tue, 18 Mar 2003, Mozzi wrote:
>>
>>>Now what troubles me is what does my file entry have to look like to pass
>>>the mail on to the individual hosts?
>>>eg. mydomain.com    [192.168.1.1]
>>>or
>>>mydomain.com    pop3.actualdomain.com

>>
>>Either, but don't put the [] round the IP address.
>
> Yo
> Tnx for the reply but I seem to be doing something realy stupid here ;-)
>
> In my /etc/exim config file I did the following:
>
> domainlist local_domains = lsearch;/etc/eximfiles/localdomains
> domainlist relay_to_domains = lsearch;/etc/eximfiles/relaydomains
> hostlist relay_from_hosts = lsearch;/etc/eximfiles/acclist
>
> hubbed_hosts:
>      driver = manualroute
>      transport = remote_smtp
>      route_list = lsearch;/etc/eximfiles/domainrouting


Hmmm, I don't think that this syntax will work, please try

route_data = ${lookup {$domain} lsearch{/etc/eximfiles/domainrouting}}

Nico