9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: Tim Newsham <newsham@lava.net>
To: 9fans@cse.psu.edu
Subject: [9fans] smtp
Date: Tue, 17 May 2005 15:47:00 -1000	[thread overview]
Message-ID: <Pine.BSI.4.61.0505171539060.5020@malasada.lava.net> (raw)

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/


             reply	other threads:[~2005-05-18  1:47 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-05-18  1:47 Tim Newsham [this message]
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
  -- strict thread matches above, loose matches on Subject: below --
2000-12-19  9:17 Russ Cox
2000-12-19 10:36 ` William Staniewicz
2000-12-19  5:23 anothy
2000-12-19  8:58 ` William Staniewicz
2000-12-18 17:53 William Staniewicz

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=Pine.BSI.4.61.0505171539060.5020@malasada.lava.net \
    --to=newsham@lava.net \
    --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).