From mboxrd@z Thu Jan 1 00:00:00 1970 Date: Wed, 22 Jan 2014 22:57:20 -0700 From: Grant Mather To: 9fans@9fans.net Message-ID: <20140123055720.GA4132@Grants-MacBook.local> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.22 (2013-10-16) Subject: [9fans] upas/smtp and gmail Topicbox-Message-UUID: b44e68c2-ead8-11e9-9d60-3106f5b1d025 I'm wondering what exactly I'm doing wrong, I've been trying to send mail on Plan 9 for some time now, and I'm definitely misunderstanding something about how upas works. My goal is to send my mail via gmail, but this has not been working, I've also tried different email account providers I have, but to no avail. The steps I've taken: cp /mail/lib/rewrite.gateway /mail/lib/gateway add an smtp=smtp.gmail.com entry under my ipnet in /lib/ndb/local changed the last line of /mail/lib/remotemail to read 'exec /bin/upas/smtp -sa -u mygmailusername@gmail.com -h $fd tcp!smtp.gmail.com!587 $senter $*' The farthest I have gotten is getting smtp to issue 220 Ready to Start TLS, and then it exits, that's running smtp with the -d flag. /sys/log/smtp reveals a bunch of bad thumbprint x509 lines. I have tried adding the sha1 hash to /sys/lib/tls/mail, but this has had no effect. I'm a bit puzzled on the arguments to upas/smtp as well, what is the value of sender arg supposed to be, and the rcpt-list respectively? How is the sender option any different than the user provided with the -u flag? Any help would be much appreciated!