[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: exim on laptops: smarthost on demand



On Mon, Jul 28, 2003 at 05:15:07PM +0200, François TOURDE wrote:

> One solution is probably to have 2 or 3 routers configurations in the exim file...
> 
> In my case, I must use smarthost @home, and lookup @other ... So we can probably use
> something like:
> 
> ### ROUTERS ###
> 
> smarthost:
>   driver = domainlist
>   transport = remote_smtp
>   require_files = /var/run/I_am_at_home
>   route_list = "* my.smart.host bydns_a"

[ skipped the rest ]

The above router does work. I've tested it today and it works fine. I
use exim with inetd thus I even don't have to restart exim. Just
creating and deleting a file.
I also will try ifupdown-roaming and take a look how they solved the
problem.
Thank you for this hint.

greets Jimmy

-- 
Andreas "Jimmy" Gredler, andreas.gredler@gmx.at
Get my public key at www.g-tec.co.at



Reply to: