9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
* Re: [9fans] smtp
@ 2000-12-19  5:23 anothy
  2000-12-19  8:58 ` William Staniewicz
  0 siblings, 1 reply; 10+ messages in thread
From: anothy @ 2000-12-19  5:23 UTC (permalink / raw)
  To: 9fans

ndb/cs is responsible for
setting /dev/sysname. if
you're not running that,
it won't be set, regardless
of what's in /lib/ndb/*
-α.


^ permalink raw reply	[flat|nested] 10+ messages in thread
* [9fans] smtp
@ 2005-05-18  1:47 Tim Newsham
  2005-05-18 20:41 ` Federico Benavento
  0 siblings, 1 reply; 10+ messages in thread
From: Tim Newsham @ 2005-05-18  1:47 UTC (permalink / raw)
  To: 9fans

I'm playing with mail trying to get outgoing mail to work through
upas/smtp to smtp.gmail.com.  I think I got through some hurdles
but I have some questions and comments:

- The man page smtp(8) has some minor issues:
   - It lists the "-a" option more than once
   - The text in the second "-a" section does not appear in the
     formatted man page or web page completely (compare with src).
   - It hints at putting keys in the factotum but not much info
     is given.
- The wiki doesn't mention putting keys in the factotum for
   upas/smtp at all.
- If upas/smtp is run and cannot find a key in the factotum, it
   bombs out but gives little reason as to why.  I had to trace
   through the program to find out what I was doing wrong.

My magic incantations to get a test running, after installing
the server certificate signature as per the wiki was:

   $ echo 'key proto=pass service=smtp server=smtp.gmail.com 
user=me@gmail.com !password=mypwrocks' >/mnt/factotum/ctl
   $ echo test | upas/smtp -d -a -u me@gmail.com smtp.gmail.com fromme 
newsham@lava.net

- What is the preferred way to prep the factotum with auth info
   for upas/smtp?   What is the context that upas/smtp is invoked in?
   Should this be in the termrc/cpurc?  or in the user's login profile?
- When smtp needs a -a and/or -u option what is the preferred way
   to configure this?  Is it proper to edit the /mail/lib/remotemail
   script for this purpose?

Tim Newsham
http://www.lava.net/~newsham/


^ permalink raw reply	[flat|nested] 10+ messages in thread
* Re: [9fans] smtp
@ 2000-12-19  9:17 Russ Cox
  2000-12-19 10:36 ` William Staniewicz
  0 siblings, 1 reply; 10+ messages in thread
From: Russ Cox @ 2000-12-19  9:17 UTC (permalink / raw)
  To: 9fans

I think ndb/cs tries to infer your system
name from the ethernet address.  A decent
alternative is to set sysname, either in
plan9.ini or /bin/termrc before the invocation
of ndb/cs.

Russ


^ permalink raw reply	[flat|nested] 10+ messages in thread
* [9fans] smtp
@ 2000-12-18 17:53 William Staniewicz
  0 siblings, 0 replies; 10+ messages in thread
From: William Staniewicz @ 2000-12-18 17:53 UTC (permalink / raw)
  To: 9fans

Quick question... I hope...
    
does <your machine> mean what "sys=" or what is found in
/dev/sysname?
    
If so... I have a problem relating to that and it may be
something in /ndb/local.
    
In /ndb/local I have ...
    
        sys = localhost
    
however, when I do a "cat /dev/sysname" the file is empty...
    
maybe I missed something in the early stages of setting things
up and it's coming back to haunt me.

Bill


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

end of thread, other threads:[~2005-05-18 21:51 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2000-12-19  5:23 [9fans] smtp anothy
2000-12-19  8:58 ` William Staniewicz
  -- strict thread matches above, loose matches on Subject: below --
2005-05-18  1:47 Tim Newsham
2005-05-18 20:41 ` Federico Benavento
2005-05-18 20:56   ` andrey mirtchovski
2005-05-18 21:00   ` Federico Benavento
     [not found]   ` <0214c6640e3a44a97749a6198441a136@plan9.ucalgary.ca>
2005-05-18 21:51     ` Federico Benavento
2000-12-19  9:17 Russ Cox
2000-12-19 10:36 ` William Staniewicz
2000-12-18 17:53 William Staniewicz

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