9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: "Russ Cox" <rsc@swtch.com>
To: "Fans of the OS Plan 9 from Bell Labs" <9fans@cse.psu.edu>
Subject: Re: [9fans] SMTP Woes
Date: Fri, 13 Apr 2007 11:44:14 -0400	[thread overview]
Message-ID: <ee9e417a0704130844m793257a3j5cf7ae204364a431@mail.gmail.com> (raw)
In-Reply-To: <9ab217670704130734j7cad283ara8a51628d605be24@mail.gmail.com>

> 9top% upas/smtp -d -as -h yourdomain.dom 'net!$smtp' dho devon.odell@gmail.com
> expanding /net!$smtp
> sending /net/dns 'smtp.gmail.com mx'
> dns: dns: resource does not exist
> mxdial trying /net/net!smtp.gmail.com!smtp
> smtp: connection timed out (net!smtp.gmail.com)

Your network connection is timing out (as it says).

Yourdomain.dom is used for various purposes
during the smtp conversation.  Smtp didn't even
bother looking for the MX of gmail.com.
So both of those are irrelevant.

Smtp did look to see if there was an MX for
smtp.gmail.com, but it didn't find one so it is
trying to connect directly.  That's just fine too.

You have a good error right there:

> mxdial trying /net/net!smtp.gmail.com!smtp
> smtp: connection timed out (net!smtp.gmail.com)

The network connection smtp is trying to make is timing out.
You don't have a mail problem; you have a network problem.
At least that is simpler.

Try connecting with a simple program:

  con -l tcp!smtp.gmail.com!smtp

When that fails, verify that you can resolve the name
smtp.gmail.com using ndb/dnsquery.

When that succeeds, try connecting directly to the IP address:

  con -l tcp!209.85.133.109!smtp

When that fails, make sure you can connect to other
systems:

  con -l tcp!plan9.bell-labs.com!http

When that succeeds, try connecting to the SMTP port using
a different operating system or machine on the same network.

It could be that your ISP is blocking external SMTP connections,
for example.

Russ


  parent reply	other threads:[~2007-04-13 15:44 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-04-13 14:34 Devon H. O'Dell
2007-04-13 14:58 ` erik quanstrom
2007-04-13 15:14   ` Devon H. O'Dell
2007-04-13 15:24     ` erik quanstrom
2007-04-13 15:31       ` Devon H. O'Dell
2007-04-13 15:36         ` erik quanstrom
2007-04-13 15:44 ` Russ Cox [this message]
2007-04-13 16:02   ` Devon H. O'Dell
2007-04-13 16:05     ` Russ Cox

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=ee9e417a0704130844m793257a3j5cf7ae204364a431@mail.gmail.com \
    --to=rsc@swtch.com \
    --cc=9fans@cse.psu.edu \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).