9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: "Devon H. O'Dell" <devon.odell@gmail.com>
To: "Fans of the OS Plan 9 from Bell Labs" <9fans@cse.psu.edu>
Subject: [9fans] SMTP Woes
Date: Fri, 13 Apr 2007 10:34:14 -0400	[thread overview]
Message-ID: <9ab217670704130734j7cad283ara8a51628d605be24@mail.gmail.com> (raw)

>From what I can tell, I've done everything correctly to set up SMTP
from my machine.
I've set smtp=smtp.gmail.com in /lib/ndb/local. I've copied
/mail/lib/rewrite.gateway to /mail/lib/rewrite. I've modified
/mail/lib/remotemail to pass the -a flag to upas/smtp. Just to be
sure, I'm passing -s too.

However, not all is happy. Running the proper commands, fgb gets:

g% /bin/upas/smtp -d -as -h yourdomain.dom net!smtp.gmail.com fgb
benavento@gmail.com
sending /net/dns 'smtp.gmail.com mx'
dns: dns: resource does not exist
mxdial trying /net/net!smtp.gmail.com!smtp
220 mx.google.com ESMTP 3sm2590210wrs

EHLO 192.168.233.128
:
:
[ continues on working. ]

When I run this command, I get:

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)

Now, if I change the 'net!$smtp' to net!smtp.gmail.com, or even pass
-g smtp.gmail.com, I get the same behavior.

Any ideas what could be going wrong in my setup?

--dho


             reply	other threads:[~2007-04-13 14:34 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-04-13 14:34 Devon H. O'Dell [this message]
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
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=9ab217670704130734j7cad283ara8a51628d605be24@mail.gmail.com \
    --to=devon.odell@gmail.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).