#!/bin/rc
gmailid=
auth/factotum
plumber
auth/factotum -g (proto=pass service=smtp server=smtp.gmail.com user=$gmailid !password?)
echo 'x509 sha1=F392AEB428FE64036FE155ED719E5FF688905A57' > /sys/lib/tls/smtp
echo 'x509 sha1=F3043DD689A2E7DDDFBEF82703A6C65EA9B634C1' > /sys/lib/tls/mail
upas/fs -f /imaps/imap.gmail.com/$gmailid
acme -c 1 -l $home/_/mail
# ls | /bin/upas/smtp -d -p -a -u $gmailid tcp!smtp.gmail.com!smtp $gmailid $recipient
|