
iDunno at sommitrealweird
Oct 28, 2009, 4:29 AM
Post #3 of 4
(167 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.fr" > test cmdline > Cc: > LOG: MAIN > <= root[at]mydomain.com U=root P=local S=359 > local01:/# delivering 1N2dl4-0007Qp-0n > R: smarthost for mydirection[at]yahoo.fr > LOG: MAIN > remote host address is the local host: yahoo.fr > LOG: MAIN > == mydirection[at]yahoo.fr 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.com > R: system_aliases for root[at]mydomain.com > R: system_aliases for administrator[at]mydomain.com > R: userforward for administrator[at]mydomain.com > R: procmail for administrator[at]mydomain.com > R: maildrop for administrator[at]mydomain.com > R: lowuid_aliases for administrator[at]mydomain.com (UID 1000) > R: local_user for administrator[at]mydomain.com > T: appendfile for administrator[at]mydomain.com > LOG: MAIN > => administrator <postmaster[at]mydomain.com> 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/
|