Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: exim: users

Always getting "remote host address is the local host"

 

 

exim users RSS feed   Index | Next | Previous | View Threaded


mabeghin at yahoo

Oct 27, 2009, 4:10 AM

Post #1 of 4 (2141 views)
Permalink
Always getting "remote host address is the local host"

Hi,
I'm sorry if my question is basic. I googled a lot before sending this.
I try to send mails with PHP mail on a Debian server, with Exim4 /
smarthost.
I execute mail in command line and get that (I replace domain name by
mydomain.com):

mail -v -s "test cmdline" "mydirection [at] yahoo"
test cmdline
Cc:
LOG: MAIN
<= root [at] mydomain U=root P=local S=359
local01:/# delivering 1N2dl4-0007Qp-0n
R: smarthost for mydirection [at] yahoo
LOG: MAIN
remote host address is the local host: yahoo.fr
LOG: MAIN
== mydirection [at] yahoo R=smarthost defer (-1): remote host
address is the local host
LOG: MAIN
<= <> R=1N2dl4-0007Qp-0n U=Debian-exim P=local S=595
LOG: MAIN
Frozen
delivering 1N2dl4-0007Qr-4G
R: system_aliases for postmaster [at] mydomain
R: system_aliases for root [at] mydomain
R: system_aliases for administrator [at] mydomain
R: userforward for administrator [at] mydomain
R: procmail for administrator [at] mydomain
R: maildrop for administrator [at] mydomain
R: lowuid_aliases for administrator [at] mydomain (UID 1000)
R: local_user for administrator [at] mydomain
T: appendfile for administrator [at] mydomain
LOG: MAIN
=> administrator <postmaster [at] mydomain> R=local_user T=mail_spool
LOG: MAIN
Completed


So the question is: why does it consider "yahoo.fr" to be local host ??
Thanks !
Matthieu

--
## List details at http://lists.exim.org/mailman/listinfo/exim-users
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://wiki.exim.org/


tlyons at ivenue

Oct 27, 2009, 11:42 AM

Post #2 of 4 (2096 views)
Permalink
Re: Always getting "remote host address is the local host" [In reply to]

On Tue, Oct 27, 2009 at 4:10 AM, matthieu <mabeghin [at] yahoo> wrote:
>    R: smarthost for mydirection [at] yahoo
>    LOG: MAIN
>      remote host address is the local host: yahoo.fr

Debian uses a split config file style of which I know not the details
of operation. There is a mailing list for Debian style exim configs
though, and they'll probably see the above 3 lines and give you a 2 or
3 step procedure to fix it when you ask them.
--
Regards... Todd
The best thing about pair programming is that you have the perfect
audience for your genius. -- Kent Beck

--
## List details at http://lists.exim.org/mailman/listinfo/exim-users
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://wiki.exim.org/


iDunno at sommitrealweird

Oct 28, 2009, 4:29 AM

Post #3 of 4 (2080 views)
Permalink
Re: Always getting "remote host address is the local host" [In reply to]

On 27 Oct 12:10, matthieu wrote:
> Hi,
> I'm sorry if my question is basic. I googled a lot before sending this.
> I try to send mails with PHP mail on a Debian server, with Exim4 /
> smarthost.
> I execute mail in command line and get that (I replace domain name by
> mydomain.com):
>
> mail -v -s "test cmdline" "mydirection [at] yahoo"
> test cmdline
> Cc:
> LOG: MAIN
> <= root [at] mydomain U=root P=local S=359
> local01:/# delivering 1N2dl4-0007Qp-0n
> R: smarthost for mydirection [at] yahoo
> LOG: MAIN
> remote host address is the local host: yahoo.fr
> LOG: MAIN
> == mydirection [at] yahoo R=smarthost defer (-1): remote host
> address is the local host
> LOG: MAIN
> <= <> R=1N2dl4-0007Qp-0n U=Debian-exim P=local S=595
> LOG: MAIN
> Frozen
> delivering 1N2dl4-0007Qr-4G
> R: system_aliases for postmaster [at] mydomain
> R: system_aliases for root [at] mydomain
> R: system_aliases for administrator [at] mydomain
> R: userforward for administrator [at] mydomain
> R: procmail for administrator [at] mydomain
> R: maildrop for administrator [at] mydomain
> R: lowuid_aliases for administrator [at] mydomain (UID 1000)
> R: local_user for administrator [at] mydomain
> T: appendfile for administrator [at] mydomain
> LOG: MAIN
> => administrator <postmaster [at] mydomain> R=local_user T=mail_spool
> LOG: MAIN
> Completed
>
>
> So the question is: why does it consider "yahoo.fr" to be local host ??

A quick guess would suggest that you've got it in local_domains - which
particular type debian setup are you using? Because there's split and
single file config...

Also, if you do dig mx yahoo.fr on that machine, what do you get back -
it may be that you're getting localhost back for mx lookups.

Thanks,
--
Brett Parker

--
## List details at http://lists.exim.org/mailman/listinfo/exim-users
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://wiki.exim.org/


mabeghin at yahoo

Oct 28, 2009, 4:33 AM

Post #4 of 4 (2090 views)
Permalink
Re: Always getting "remote host address is the local host" [In reply to]

I just fixed it changing the configuration. The configuration allows you
to split configuration files or not on Debian as well. Mine is not
splitted. The smtp config was set to manualroute, I change it to
dnslookup and now it works (I already tried but maybe I had another
problem at that moment).

Thanks anyway !
Matthieu

Todd Lyons a écrit :
> On Tue, Oct 27, 2009 at 4:10 AM, matthieu <mabeghin [at] yahoo> wrote:
>
>> R: smarthost for mydirection [at] yahoo
>> LOG: MAIN
>> remote host address is the local host: yahoo.fr
>>
>
> Debian uses a split config file style of which I know not the details
> of operation. There is a mailing list for Debian style exim configs
> though, and they'll probably see the above 3 lines and give you a 2 or
> 3 step procedure to fix it when you ask them.
>
>

--
## List details at http://lists.exim.org/mailman/listinfo/exim-users
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://wiki.exim.org/

exim users RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.