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

Mailing List Archive: exim: users

Cannot send mail to gmail

 

 

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


hannibaln at gmail

Jan 31, 2010, 11:01 PM

Post #1 of 7 (1169 views)
Permalink
Cannot send mail to gmail

Hi Everyone

I am running a new Debian 5 with exim4.69

When i try to send mail to gmail i get one of the following error

all relevant MX records point to non-existent hosts

or

unroutable address

My dns resolves correctly - i am running my own DNS server - most
other domains have no problems but 1 or 2 others also give me the same
errors

i have tried to set the gmail.com and an ip for one of the MX in the
hosts file with no luck, i would realy appreciate any assistance that
can be provided.

--
## 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/


chris+exim at qwirx

Feb 1, 2010, 12:48 AM

Post #2 of 7 (1129 views)
Permalink
Re: Cannot send mail to gmail [In reply to]

Hi Hannibal,

On Mon, 1 Feb 2010, Hannibal Ndlovu wrote:

> I am running a new Debian 5 with exim4.69
>
> When i try to send mail to gmail i get one of the following error
>
> all relevant MX records point to non-existent hosts
>
> or
>
> unroutable address
>
> My dns resolves correctly - i am running my own DNS server - most other
> domains have no problems but 1 or 2 others also give me the same errors
>
> i have tried to set the gmail.com and an ip for one of the MX in the
> hosts file with no luck, i would realy appreciate any assistance that
> can be provided.

You'd need to tell us the output of the following commands:

cat /etc/resolv.conf
host -t mx gmail.com (or whatever domain you're sending to)
host -t mx gmail.com 208.67.220.220 (using OpenDNS instead of your own DNS
server)

For reference, this is what I get:

chris [at] roci(bbackupquery)$ host -t mx gmail.com 208.67.220.220
Using domain server:
Name: 208.67.220.220
Address: 208.67.220.220#53
Aliases:

gmail.com mail is handled by 30 alt3.gmail-smtp-in.l.google.com.
gmail.com mail is handled by 5 gmail-smtp-in.l.google.com.
gmail.com mail is handled by 40 alt4.gmail-smtp-in.l.google.com.
gmail.com mail is handled by 20 alt2.gmail-smtp-in.l.google.com.
gmail.com mail is handled by 10 alt1.gmail-smtp-in.l.google.com.

Cheers, Chris.
--
_ ___ __ _
/ __/ / ,__(_)_ | Chris Wilson <0000 at qwirx.com> - Cambs UK |
/ (_/ ,\/ _/ /_ \ | Security/C/C++/Java/Perl/SQL/HTML Developer |
\ _/_/_/_//_/___/ | We are GNU-free your mind-and your software |

--
## 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/


hannibaln at gmail

Feb 1, 2010, 1:37 AM

Post #3 of 7 (1128 views)
Permalink
Re: Cannot send mail to gmail [In reply to]

Hi Chris

/etc# host -t mx gmail.com 208.67.220.220
Using domain server:
Name: 208.67.220.220
Address: 208.67.220.220#53
Aliases:

gmail.com mail is handled by 5 gmail-smtp-in.l.google.com.
gmail.com mail is handled by 30 alt3.gmail-smtp-in.l.google.com.
gmail.com mail is handled by 10 alt1.gmail-smtp-in.l.google.com.
gmail.com mail is handled by 20 alt2.gmail-smtp-in.l.google.com.
gmail.com mail is handled by 40 alt4.gmail-smtp-in.l.google.com.

and the cat

cat resolv.conf
nameserver 127.0.0.1
nameserver 196.44.176.1
nameserver 196.44.176.4
nameserver 217.15.120.4
nameserver 217.15.120.90
nameserver 209.88.90.130
nameserver 213.140.2.43
nameserver 4.2.2.2


On 01/02/2010, Chris Wilson <chris+exim [at] qwirx> wrote:
> Hi Hannibal,
>
> On Mon, 1 Feb 2010, Hannibal Ndlovu wrote:
>
>> I am running a new Debian 5 with exim4.69
>>
>> When i try to send mail to gmail i get one of the following error
>>
>> all relevant MX records point to non-existent hosts
>>
>> or
>>
>> unroutable address
>>
>> My dns resolves correctly - i am running my own DNS server - most other
>> domains have no problems but 1 or 2 others also give me the same errors
>>
>> i have tried to set the gmail.com and an ip for one of the MX in the
>> hosts file with no luck, i would realy appreciate any assistance that
>> can be provided.
>
> You'd need to tell us the output of the following commands:
>
> cat /etc/resolv.conf
> host -t mx gmail.com (or whatever domain you're sending to)
> host -t mx gmail.com 208.67.220.220 (using OpenDNS instead of your own DNS
> server)
>
> For reference, this is what I get:
>
> chris [at] roci(bbackupquery)$ host -t mx gmail.com 208.67.220.220
> Using domain server:
> Name: 208.67.220.220
> Address: 208.67.220.220#53
> Aliases:
>
> gmail.com mail is handled by 30 alt3.gmail-smtp-in.l.google.com.
> gmail.com mail is handled by 5 gmail-smtp-in.l.google.com.
> gmail.com mail is handled by 40 alt4.gmail-smtp-in.l.google.com.
> gmail.com mail is handled by 20 alt2.gmail-smtp-in.l.google.com.
> gmail.com mail is handled by 10 alt1.gmail-smtp-in.l.google.com.
>
> Cheers, Chris.
> --
> _ ___ __ _
> / __/ / ,__(_)_ | Chris Wilson <0000 at qwirx.com> - Cambs UK |
> / (_/ ,\/ _/ /_ \ | Security/C/C++/Java/Perl/SQL/HTML Developer |
> \ _/_/_/_//_/___/ | We are GNU-free your mind-and your software |
>

--
## 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/


chris+exim at qwirx

Feb 1, 2010, 1:43 AM

Post #4 of 7 (1128 views)
Permalink
Re: Cannot send mail to gmail [In reply to]

Hi Hannibal,

On Mon, 1 Feb 2010, Hannibal Ndlovu wrote:

> /etc# host -t mx gmail.com 208.67.220.220

And using your own name server, more importantly?

> cat resolv.conf
> nameserver 127.0.0.1
> nameserver 196.44.176.1
> nameserver 196.44.176.4
> nameserver 217.15.120.4
> nameserver 217.15.120.90
> nameserver 209.88.90.130
> nameserver 213.140.2.43
> nameserver 4.2.2.2

Also, 4.2.2.2 is NOT your nameserver. Please remove all nameservers except
exactly the one or two that you want to use.

Cheers, Chris.
--
_ ___ __ _
/ __/ / ,__(_)_ | Chris Wilson <0000 at qwirx.com> - Cambs UK |
/ (_/ ,\/ _/ /_ \ | Security/C/C++/Java/Perl/SQL/HTML Developer |
\ _/_/_/_//_/___/ | We are GNU-free your mind-and your software |

--
## 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/


John.Burnham at admin

Feb 1, 2010, 2:01 AM

Post #5 of 7 (1134 views)
Permalink
Re: Cannot send mail to gmail [In reply to]

In which case try
exim -d -bt foo [at] gmail
and see what you get.
J
--
## 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/


holborn-exim at real-life

Feb 1, 2010, 4:07 AM

Post #6 of 7 (1131 views)
Permalink
Re: Cannot send mail to gmail [In reply to]

Chris Wilson wrote:
> And using your own name server, more importantly?
>
> > cat resolv.conf
> > nameserver 127.0.0.1
> > nameserver 196.44.176.1
> > nameserver 196.44.176.4
> > nameserver 217.15.120.4
> > nameserver 217.15.120.90
> > nameserver 209.88.90.130
> > nameserver 213.140.2.43
> > nameserver 4.2.2.2
>
> Also, 4.2.2.2 is NOT your nameserver. Please remove all nameservers except
> exactly the one or two that you want to use.

Most (if not all) resolvers only use the first three nameserver statements in
your resolv.conf anyway...

Regards

Drav.

--
## 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

Feb 1, 2010, 7:04 AM

Post #7 of 7 (1125 views)
Permalink
Re: Cannot send mail to gmail [In reply to]

On Sun, Jan 31, 2010 at 11:01 PM, Hannibal Ndlovu <hannibaln [at] gmail> wrote:
> Hi Everyone
>
> I am running a new Debian 5 with exim4.69
>
> When i try to send mail to gmail i get one of the following error
>
>           all relevant MX records point to non-existent hosts
>                                        or
>                                   unroutable address

Just to be clear, this is a message that exim is telling you when you
try to send to Gmail, right? This is *NOT* the message that Gmail is
rejecting your email with because Gmail cannot resolve *your* domain,
right? Also, I would remove all nameservers except one and then test.
Repeat tests with one nameserver at a time. You may find that one
(particularly I suspect the one running on local machine) is having
problems and generating bogus results.
--
Regards... Todd
Real Integrity is doing the right thing, knowing that no body's going
to know whether you did it or not.

--
## 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.