Re: [exim] remote host is the local host error

Top Page
Delete this message
Reply to this message
Author: Tim Jackson
Date:  
To: exim-users
Subject: Re: [exim] remote host is the local host error
On Tue, 5 Jul 2005 07:21:44 -0400
listlow <listlow8@???> wrote:

> i perform the command "exim -bt
> abc@???" i will have the below error msg:-
>
> remote host address is the local host: spam.mydomain (while routing
> <abc@???>)
> abc@mydomain cannot be resolved at this time:
> remote host address is the local host


I think your attempts at munging the addresses may have confused
things, but it looks like your MX records are pointing spam.mydomain
to your Exim machine, but the Exim machine has not been configured to do
anything special with that domain other than route it via it's MX.
Thus, you created a mail loop which Exim sensibly refuses to follow.

If you are planning on using it as a gateway, you will probably need a
manualroute router, like:

pass_to_exchange:
driver = manualroute
domains = example.com
route_data = your.exchange.server
transport = remote_smtp
no_more

If still in doubt, using the "-d" (debug) option i.e.

exim -d -bt example@address


Tim