Auteur: Andrew Date: À: Ed CC: exim-users Sujet: Re: [exim] Cannot send to own domain (which is served by Google
apps)
On Wed, Jun 06, 2012 at 04:31:07PM +0100, Ed wrote: > I have installed exim on a Centos linode, its purpose to is send mail
> reports generated by admin shell scripts.
>
> So, my domain is foo.com however all email for foo.com is handled by
> Google Apps. When I try to send email to me@??? it stays in the
> queue frozen, I can send email to other gmail accounts so I presume
> the basic configuration is OK but there is something it doesn't like
> about foo.com.
The problem could be related to the MX records for foo.com which point to 0.0.0.0
host -t mx foo.com
foo.com mail is handled by 1000 0.0.0.0.
however things might fall back to the A records I guess..
foo.com has address 23.21.179.138
foo.com has address 23.21.224.150
>
> I tried editing exim.conf and changed
>
> domainlist local_domains = @ : localhost : localhost.localdomain
> to
> domainlist local_domains = localhost : localhost.localdomain
>
@ is the local host name - you should check that the hostname is set correctly and has
proper forward and reverse DNS entries ( eg linode.foo.com ) as otherwise the
remote server is likely to reject any messages ( if it thinks you are spoofing some address which
may be the case if it thinks it handles mail for that domain )