Re: [Exim] Multiple smarthosts

Top Page
Delete this message
Reply to this message
Author: Jeffrey Goldberg
Date:  
To: Robin Faichney
CC: exim-users
Subject: Re: [Exim] Multiple smarthosts
[mailed and posted]

On Sat, 23 Sep 2000, Robin Faichney wrote:

> So what I'd like to do is have alternative smarthosts, where the one to be
> used is determined by which ISP I'm connected to.
>
> I thought I'd cracked it, by using route_file instead of route_list,
> setting search_type to lsearch, where the two files look like this:
>
> *: <ISP1_smarthost> bydns_a
>
> and
>
> *: <ISP2_smarthost> bydns_a


There shouldn't be colons in there.


> and ip-up symlinks the route_file filename to the appropriate file for
> the current connection. But that doesn't work. I got an error message
> from my email client which I unfortunately did not note, but which seemed
> to indicate that routing was thoroughly confused.


I use a set-up very similar to what you describe without trouble.

> I'm hoping that I'm doing something obviously wrong here, in which case
> the error message and further info wouldn't be required.


It could be the : after the * in your route_file

Try putting one of them in, and running

exim -d4 -bt some@???

You'll get lots of debugging output to stderr. Vary to 4 as needed to get
more or less debugging output.

> Or maybe
> there's another, better way of achieving the result I'm looking for.


You've taken what several people recommend as the right strategy. It is
probably just a simple error somewhere.

-j


--
Jeffrey Goldberg
I have recently moved, see http://www.goldmark.org/jeff/contact.html
Relativism is the triumph of authority over truth, convention over justice