Plan 9 from Bell Labs’s /usr/web/sources/contrib/vrtra/rc/gmail.rc

Copyright © 2021 Plan 9 Foundation.
Distributed under the MIT License.
Download the Plan 9 distribution.


#!/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

Bell Labs OSI certified Powered by Plan 9

(Return to Plan 9 Home Page)

Copyright © 2021 Plan 9 Foundation. All Rights Reserved.
Comments to webmaster@9p.io.