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" "[email protected]"
>     test cmdline
>     Cc:
>     LOG: MAIN
>       <= [email protected] U=root P=local S=359
>     local01:/# delivering 1N2dl4-0007Qp-0n
>     R: smarthost for [email protected]
>     LOG: MAIN
>       remote host address is the local host: yahoo.fr
>     LOG: MAIN
>       == [email protected] 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 [email protected]
>     R: system_aliases for [email protected]
>     R: system_aliases for [email protected]
>     R: userforward for [email protected]
>     R: procmail for [email protected]
>     R: maildrop for [email protected]
>     R: lowuid_aliases for [email protected] (UID 1000)
>     R: local_user for [email protected]
>     T: appendfile for [email protected]
>     LOG: MAIN
>       => administrator <[email protected]> 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/

Reply via email to