9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
* [9fans] SMTP Woes
@ 2007-04-13 14:34 Devon H. O'Dell
  2007-04-13 14:58 ` erik quanstrom
  2007-04-13 15:44 ` Russ Cox
  0 siblings, 2 replies; 9+ messages in thread
From: Devon H. O'Dell @ 2007-04-13 14:34 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

>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


^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2007-04-13 16:05 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-04-13 14:34 [9fans] SMTP Woes 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
2007-04-13 16:02   ` Devon H. O'Dell
2007-04-13 16:05     ` Russ Cox

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