From mboxrd@z Thu Jan 1 00:00:00 1970 Date: Tue, 17 May 2005 15:47:00 -1000 From: Tim Newsham To: 9fans@cse.psu.edu Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Subject: [9fans] smtp Topicbox-Message-UUID: 4d0a5f52-ead0-11e9-9d60-3106f5b1d025 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/