Thanks to everyone that replied. I have now managed to get things working
the way I want them to. The solution was what Dan suggested... I added
'local_interfaces' to the config and set it to the servers IP address,
thereby preventing Exim from binding to the loopback address.
It looks like Exim was being too smart for it's own good.. For some reason
it was assuming that because it was bound to the loopback address that it
was the only MTA on that address (regardless of the fact it wasn't listening
on the smtp port specified).....
Heres the transport/router definitions that I was using before I asked the
question and I'm still using them now. As you can see, I had gotten most of
the way there. I should have included this in the first place, sorry.
remote_smtp:
driver = smtp
port = 2525
allow_localhost
normal_route:
driver = domainlist
transport = remote_smtp
route_list = "* 127.0.0.1 byname"
Thanks again.
Ian
P.S. and yes, the other MTA is Sendmailand not EXim. Now if only Exim would
support the Milter specification......
-----Original Message-----
From: Dan Egli [
mailto:eglidan@yahoo.com]
Sent: 08 November 2001 18:26
To: exim-users@???
Subject: Re: [Exim] 2 MTA's on the same host
To do something like that you'd likely need 2 IPs (No flames if this is
wrong please!). Example:
192.168.0.1 recieves mail, sends it over to 192.168.0.2 (same machine,
different IP) port 7777. That MTA then recieves it and processes it. Each
one is configured to listen to their IP only. The problem is that Exim
resolves All DNS queries to IPs before contacting any remote boxes. So if
remote_ip_addr == my_ip_addr, exim won't work because it's trying to prevent
a mail loop.
Perhaps that should be an Exim v4 feature? :>
----- Original Message -----
From: Marsh, Ian <ian.marsh@???>
To: <exim-users@???>
Sent: Thursday, November 08, 2001 9:42 AM
Subject: [Exim] 2 MTA's on the same host
> Can anyone tell me if it is possible to make Exim (listening on port 25)
> to route *all* mail to another MTA running on the same server but
different
> port (eg 2525)? No mail will be local to the server on which the MTA's are
> running. I need to 'buffer' mail received from external hosts on the
server
> and then feed it to the second MTA. This MTA can, occasionally, take some
> time to do it's required processing so I'd like to release the originating
> MTA as soon as possible, hence buffering it with Exim.
>
> Can anyone give me any pointers? I'm using Exim v3.33. Despite
everything
> that I try all I get is 'remote host address is the local host' and a
point
> blank refusal to do anything more with it. I haven't been able to find
> anything in the FAQ/list archive....
>
> Thanks,
> Ian
>
> --
>
> ## List details at http://www.exim.org/mailman/listinfo/exim-users Exim
details at
http://www.exim.org/ ##
>
>
--
## List details at
http://www.exim.org/mailman/listinfo/exim-users Exim
details at
http://www.exim.org/ ##