Re: [exim] manualroute won't route to localhost???

Top Page
Delete this message
Reply to this message
Author: Bill Hacker
Date:  
To: exim
Subject: Re: [exim] manualroute won't route to localhost???
Nic Ferrier wrote:

> Because the smtp transport offers the option:
>
>    allow_localhost

>
> and:
>
>    port

>
> I presumed that I would be able to get my smarthost configuration to
> deliver mail via an ssh tunnel I have running on the smtp machine to
> the target host.
>
> But manualroute seems to refuse to deliver stuff via local machines.
>
>
>
> By the way, this config is a machine connected to it's smarthost by an
> existing ssh tunnel - I don't want to use a separate pipe based router
> to connect to the smarthost.
>
>
> Can anyone tell me if I can route to the localhost someway?
>
>
>
> Nic Ferrier
>


Possibility for consideration (used here, but not for Exim, so far):

- alias another (non-routable if appropriate) IP onto one of the
'localhost' interfaces.
It need not be an external interface, nor one that is 'wired'.

- point your manual router to that specific IP instead of 'localhost'.

Other entries probably needed w/r listener, treatment as local (or not),
etc.
Optionally firewall divert rules as well.

Easier to log and debug than 'localhost' though.

HTH,

Bill Hacker