From mboxrd@z Thu Jan 1 00:00:00 1970 MIME-Version: 1.0 In-Reply-To: References: From: John Floren Date: Tue, 15 May 2012 00:01:53 -0700 Message-ID: To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net> Content-Type: text/plain; charset=ISO-8859-1 Subject: Re: [9fans] Reading gmail Topicbox-Message-UUID: 8c305b4e-ead7-11e9-9d60-3106f5b1d025 Secstore really helps here. john On Mon, May 14, 2012 at 11:41 PM, Federico Benavento wrote: > http://www.plan9.bell-labs.com/wiki/plan9/mail_configuration/index.html > > factotum doesn't have your key, try > % auth/fgui & > % /bin/upas/smtp -as net!smtp.gmail.com dest@dom > > a window will pop up and ask for your pass... > > you'll have to add the smtp value for your network in your /lib/ndb/local or hardcode it in /mail/lib/remotemail > follow the wiki, btw you should have copied rewrite.gateway over rewrite > > --- > Federico Benavento > benavento@gmail.com > > > > On May 15, 2012, at 2:37 AM, 9 9 wrote: > >>> >>> Any help on sending mails using gmail? http://www.plan9.bell-labs.com/wiki/plan9/gmail_on_plan9/index.html suggests that it should be a simple matter, but I get >>> >>> Mail from 'glenda' >>> to '9@...net' >>> failed with error 'Invalid address'. >>> if I try to post with that modification in my remotemail. My google-fu does not seem to help :( >> >> >> My attempts so far: >> >> cpu% cat /sys/lib/tls/smtp >> x509 sha1=F392AEB428FE64036FE155ED719E5FF688905A57 >> >> cpu% ls | /bin/upas/smtp -d -p -a -u 9@vrtra.net -h >> vayavyam.comcast.net tcp!smtp.gmail.com!smtp 9@vrtra.net 9@vrtra.net >> sending /net/dns 'smtp.gmail.com mx' >> dns: dns: resource does not exist; negrcode 0 >> mxdial trying /net/tcp!smtp.gmail.com!smtp >> 220 mx.google.com ESMTP d2sm687657pbw.39 >> EHLO vayavyam >> 250-mx.google.com at your service, [24.20.128.212] >> 250-SIZE 35882577 >> 250-8BITMIME >> 250-STARTTLS >> 250 ENHANCEDSTATUSCODES >> STARTTLS >> 220 2.0.0 Ready to start TLS >> EHLO vayavyam >> 250-mx.google.com at your service, [24.20.128.212] >> 250-SIZE 35882577 >> 250-8BITMIME >> 250-AUTH LOGIN PLAIN XOAUTH >> 250 ENHANCEDSTATUSCODES >> Tue May 15 05:21:31 PDT 2012 connect to tcp!smtp.gmail.com!smtp: >> 250-mx.google.com at your service, [24.20.128.212] >> 250-SIZE 35882577 >> 250-8BITMIME >> 250-AUTH LOGIN PLAIN XOAUTH >> 250 ENHANCEDSTATUSCODES >> QUIT >> 221 2.0.0 closing connection d2sm687657pbw.39 >> >> cpu% cat /sys/log/smtp.fail >> vayavyam May 15 05:34:10 ping to tcp!smtp.gmail.com!smtp failed: >> 250-mx.google.com at your service, [24.20.128.212] >> 250-SIZE 35882577 >> 250-8BITMIME >> 250-AUTH LOGIN PLAIN XOAUTH >> 250 ENHANCEDSTATUSCODES >> >> I tried with same results wih ports 465 and 587 instead of smtp. With >> 465, it timesout instead. >> >> any hints? >> >> Also, acme does not even seem to invoke the remote mail? (I see no log >> messages in /sys/log/smtp* when I get the error messages in acme) >> > >