9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: John Floren <john@jfloren.net>
To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net>
Subject: Re: [9fans] Reading gmail
Date: Tue, 15 May 2012 00:01:53 -0700	[thread overview]
Message-ID: <CAL4LZygLLQSXSmdFLzDD9NH32xCm6i-P6BFmb1O+-CW-NNP4Ww@mail.gmail.com> (raw)
In-Reply-To: <C2377E5C-0B65-4D4A-BAAE-1C972AEBE6FB@gmail.com>

Secstore really helps here.

john

On Mon, May 14, 2012 at 11:41 PM, Federico Benavento
<benavento@gmail.com> 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)
>>
>
>



  parent reply	other threads:[~2012-05-15  7:01 UTC|newest]

Thread overview: 29+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-05-15  2:51 Burton Samograd
2012-05-15  3:08 ` sl
2012-05-15  3:51   ` John Floren
2012-05-15  3:57     ` Matthew Veety
2012-05-15  8:43       ` erik quanstrom
2012-05-20  3:30         ` Matthew Veety
2012-05-20 12:45           ` erik quanstrom
2012-05-20 12:47             ` Matthew Veety
2012-05-20 13:02               ` erik quanstrom
2012-05-20 13:15                 ` Kurt H Maier
2012-05-20 13:15                 ` Bruce Ellis
2012-05-15 15:56       ` Anthony Sorace
2012-05-15 16:04         ` sl
2012-05-19 17:37     ` Akshat Kumar
2012-05-19 20:31       ` Charles Forsyth
2012-05-19 20:42       ` Anthony Sorace
2012-05-19 20:54         ` Steve Simon
2012-05-19 21:06           ` Charles Forsyth
2012-05-19 22:33             ` Kurt H Maier
2012-05-19 23:11             ` Nemo
2012-05-20 20:50             ` Ethan Grammatikidis
     [not found]     ` <CABwSpPCb0DrkDocY4Qg=8814HB1Ws=uF=jnGbcDy4j-1U7Y7Ag@mail.gmail.c>
2012-05-19 21:39       ` erik quanstrom
2012-05-15  4:08   ` 9 9
2012-05-15  5:37     ` 9 9
2012-05-15  6:41       ` Federico Benavento
2012-05-15  6:46         ` 9 9
2012-05-15  7:01         ` John Floren [this message]
2012-05-15 13:50         ` 9
2012-05-15  6:41       ` 9 9

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CAL4LZygLLQSXSmdFLzDD9NH32xCm6i-P6BFmb1O+-CW-NNP4Ww@mail.gmail.com \
    --to=john@jfloren.net \
    --cc=9fans@9fans.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).