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
[email protected]



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 '[email protected]'
>> 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 [email protected] -h
> vayavyam.comcast.net tcp!smtp.gmail.com!smtp [email protected] [email protected]
> 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)
> 


Reply via email to