Re: [Exim] 2 MTA's on the same host

Top Pagina
Delete this message
Reply to this message
Auteur: Phil Pennock
Datum:  
Aan: Marsh, Ian
CC: 'exim-users@exim.org'
Onderwerp: Re: [Exim] 2 MTA's on the same host
On 2001-11-08 at 16:42 -0000, Marsh, Ian wrote:
> 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)?


Yes. Oh, and yes it is.

>                 No mail will be local to the server on which the MTA's are
> running.


Not directly relevant, since once Exim's passed the mail on, it doesn't
matter what the second MTA does with it.

> 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....


This is a safety precaution. You're probably almost there, if you're
getting this message, and are just missing the allow_localhost option on
the SMTP transport which you're using.

As per the Exim Specification, section 19 (The SMTP Transport),

-----------------------------< cut here >-------------------------------
allow_localhost                 Type: boolean                  Default: false


    When a host specified in "hosts" or "fallback_hosts" (see below) turns out
    to be the local host, or is listed in "hosts_treat_as_local", Exim freezes
    the message by default. However, if "allow_localhost" is set, it goes on
    to do the delivery anyway. This should be used only in special cases when
    the configuration ensures that no looping will result (for example, a
    differently configured Exim is listening on the SMTP port).
-----------------------------< cut here >-------------------------------


I suspect that this is all that you're now missing?
--
Don't expect to be treated like a fragile doll just because you're a newcomer
with a theatrically hypersensitive soul and delusions of entitlement.
<http://www.tuxedo.org/~esr/faqs/smart-questions.html>