9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
* [9fans] Reading gmail
@ 2012-05-15  2:51 Burton Samograd
  2012-05-15  3:08 ` sl
  0 siblings, 1 reply; 29+ messages in thread
From: Burton Samograd @ 2012-05-15  2:51 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

I'm currently stuck with gmail and you can't login to google using
readweb.  Is there any way to read gmail from plan9?  Over SSL imap
maybe? I searched for imapfs but came up with nothing.

--
Burton Samograd



^ permalink raw reply	[flat|nested] 29+ messages in thread

* Re: [9fans] Reading gmail
  2012-05-15  2:51 [9fans] Reading gmail Burton Samograd
@ 2012-05-15  3:08 ` sl
  2012-05-15  3:51   ` John Floren
  2012-05-15  4:08   ` 9 9
  0 siblings, 2 replies; 29+ messages in thread
From: sl @ 2012-05-15  3:08 UTC (permalink / raw)
  To: 9fans

> Is there any way to read gmail from plan9?  Over SSL imap
> maybe? I searched for imapfs but came up with nothing.

Mount your gmail account via IMAP:

	upas/fs -f /imaps/imap.gmail.com/username@gmail.com

The first time you try this, upas/fs will complain:

	upas/fs: opening /imaps/imap.gmail.com/username@gmail.com: imap.gmail.com/imaps:server certificate HASH not recognized

Add the provided certificate to /sys/lib/tls/mail, like so:

	x509 sha1=HASH

Run the upas/fs line again, and this time gmail via IMAP will
be mounted in /mail/fs, accessible to the standard mail tools.

-sl



^ permalink raw reply	[flat|nested] 29+ messages in thread

* Re: [9fans] Reading gmail
  2012-05-15  3:08 ` sl
@ 2012-05-15  3:51   ` John Floren
  2012-05-15  3:57     ` Matthew Veety
                       ` (2 more replies)
  2012-05-15  4:08   ` 9 9
  1 sibling, 3 replies; 29+ messages in thread
From: John Floren @ 2012-05-15  3:51 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

On Mon, May 14, 2012 at 8:08 PM,  <sl@9front.org> wrote:
>> Is there any way to read gmail from plan9?  Over SSL imap
>> maybe? I searched for imapfs but came up with nothing.
>
> Mount your gmail account via IMAP:
>
>        upas/fs -f /imaps/imap.gmail.com/username@gmail.com
>
> The first time you try this, upas/fs will complain:
>
>        upas/fs: opening /imaps/imap.gmail.com/username@gmail.com: imap.gmail.com/imaps:server certificate HASH not recognized
>
> Add the provided certificate to /sys/lib/tls/mail, like so:
>
>        x509 sha1=HASH
>
> Run the upas/fs line again, and this time gmail via IMAP will
> be mounted in /mail/fs, accessible to the standard mail tools.
>
> -sl
>

If you have a large number of messages, Erik's "nupas" is useful; IIRC
it will cache messages locally so you don't have to download a ton of
headers each time you start upas.

However I've found that with both old upas and nupas, there are some
messages that make them choke. Sadly I can't remember what triggered
it.

john



^ permalink raw reply	[flat|nested] 29+ messages in thread

* Re: [9fans] Reading gmail
  2012-05-15  3:51   ` John Floren
@ 2012-05-15  3:57     ` Matthew Veety
  2012-05-15  8:43       ` erik quanstrom
  2012-05-15 15:56       ` Anthony Sorace
  2012-05-19 17:37     ` Akshat Kumar
       [not found]     ` <CABwSpPCb0DrkDocY4Qg=8814HB1Ws=uF=jnGbcDy4j-1U7Y7Ag@mail.gmail.c>
  2 siblings, 2 replies; 29+ messages in thread
From: Matthew Veety @ 2012-05-15  3:57 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs


On May 14, 2012, at 11:51 PM, John Floren wrote:
> 
> If you have a large number of messages, Erik's "nupas" is useful; IIRC
> it will cache messages locally so you don't have to download a ton of
> headers each time you start upas.
> 
> However I've found that with both old upas and nupas, there are some
> messages that make them choke. Sadly I can't remember what triggered
> it.
> 
> john
> 

My 16,000 message inbox usually make nupas and upas shit the bed. I've never had specific messages kill it though.

--
Veety


^ permalink raw reply	[flat|nested] 29+ messages in thread

* Re: [9fans] Reading gmail
  2012-05-15  3:08 ` sl
  2012-05-15  3:51   ` John Floren
@ 2012-05-15  4:08   ` 9 9
  2012-05-15  5:37     ` 9 9
  1 sibling, 1 reply; 29+ messages in thread
From: 9 9 @ 2012-05-15  4:08 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

[-- Attachment #1: Type: text/plain, Size: 571 bytes --]

> Is there any way to read gmail from plan9?  Over SSL imap
> maybe? I searched for imapfs but came up with nothing.

Mount your gmail account via IMAP:
>
>        upas/fs -f /imaps/imap.gmail.com/username@gmail.com


Any help on sending mails using gmail?
http://www.plan9.bell-labs.com/wiki/plan9/gmail_on_plan9/index.htmlsuggests
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 :(

vrtra

[-- Attachment #2: Type: text/html, Size: 1002 bytes --]

^ permalink raw reply	[flat|nested] 29+ messages in thread

* Re: [9fans] Reading gmail
  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:41       ` 9 9
  0 siblings, 2 replies; 29+ messages in thread
From: 9 9 @ 2012-05-15  5:37 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

>
> 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)



^ permalink raw reply	[flat|nested] 29+ messages in thread

* Re: [9fans] Reading gmail
  2012-05-15  5:37     ` 9 9
@ 2012-05-15  6:41       ` Federico Benavento
  2012-05-15  6:46         ` 9 9
                           ` (2 more replies)
  2012-05-15  6:41       ` 9 9
  1 sibling, 3 replies; 29+ messages in thread
From: Federico Benavento @ 2012-05-15  6:41 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

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)
> 




^ permalink raw reply	[flat|nested] 29+ messages in thread

* Re: [9fans] Reading gmail
  2012-05-15  5:37     ` 9 9
  2012-05-15  6:41       ` Federico Benavento
@ 2012-05-15  6:41       ` 9 9
  1 sibling, 0 replies; 29+ messages in thread
From: 9 9 @ 2012-05-15  6:41 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

>> 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 :(

Ehh, sorry, rookie mistake - factotum not running, and redirect not
configured properly :/



^ permalink raw reply	[flat|nested] 29+ messages in thread

* Re: [9fans] Reading gmail
  2012-05-15  6:41       ` Federico Benavento
@ 2012-05-15  6:46         ` 9 9
  2012-05-15  7:01         ` John Floren
  2012-05-15 13:50         ` 9
  2 siblings, 0 replies; 29+ messages in thread
From: 9 9 @ 2012-05-15  6:46 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

> 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

Yes, got it all now :) found that I was confusing the instructions
rather badly :)



^ permalink raw reply	[flat|nested] 29+ messages in thread

* Re: [9fans] Reading gmail
  2012-05-15  6:41       ` Federico Benavento
  2012-05-15  6:46         ` 9 9
@ 2012-05-15  7:01         ` John Floren
  2012-05-15 13:50         ` 9
  2 siblings, 0 replies; 29+ messages in thread
From: John Floren @ 2012-05-15  7:01 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

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)
>>
>
>



^ permalink raw reply	[flat|nested] 29+ messages in thread

* Re: [9fans] Reading gmail
  2012-05-15  3:57     ` Matthew Veety
@ 2012-05-15  8:43       ` erik quanstrom
  2012-05-20  3:30         ` Matthew Veety
  2012-05-15 15:56       ` Anthony Sorace
  1 sibling, 1 reply; 29+ messages in thread
From: erik quanstrom @ 2012-05-15  8:43 UTC (permalink / raw)
  To: 9fans

On Mon May 14 23:58:41 EDT 2012, mveety@gmail.com wrote:
>
> On May 14, 2012, at 11:51 PM, John Floren wrote:
> >
> > If you have a large number of messages, Erik's "nupas" is useful; IIRC
> > it will cache messages locally so you don't have to download a ton of
> > headers each time you start upas.
> >
> > However I've found that with both old upas and nupas, there are some
> > messages that make them choke. Sadly I can't remember what triggered
> > it.
> >
> > john
> >
>
> My 16,000 message inbox usually make nupas and upas shit the bed. I've never had specific messages kill it though.

the nupas core should be ok with 16k messages

	minooka; mail -f bigmbox
	45465 messages, 44899 unread
	: q

on the other hand, i can easily believe the imap mailbox type
can't handle this.  i haven't used imap mailboxes much, and
when i did, they were very small.  if you have specific ideas,
and or observed problems, i'd be glad to incorporate them.

- erik



^ permalink raw reply	[flat|nested] 29+ messages in thread

* Re: [9fans] Reading gmail
  2012-05-15  6:41       ` Federico Benavento
  2012-05-15  6:46         ` 9 9
  2012-05-15  7:01         ` John Floren
@ 2012-05-15 13:50         ` 9
  2 siblings, 0 replies; 29+ messages in thread
From: 9 @ 2012-05-15 13:50 UTC (permalink / raw)
  To: 9fans

> 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

I was confusing over /mail/lib/redirect and /mail/lib/rewrite, which got me thoroughly confused.

Thanks for responding :)

vrtra (from acme :) )




^ permalink raw reply	[flat|nested] 29+ messages in thread

* Re: [9fans] Reading gmail
  2012-05-15  3:57     ` Matthew Veety
  2012-05-15  8:43       ` erik quanstrom
@ 2012-05-15 15:56       ` Anthony Sorace
  2012-05-15 16:04         ` sl
  1 sibling, 1 reply; 29+ messages in thread
From: Anthony Sorace @ 2012-05-15 15:56 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

[-- Attachment #1: Type: text/plain, Size: 604 bytes --]

On May 14, 2012, at 23:57 , Matthew Veety wrote:

> My 16,000 message inbox usually make nupas and upas
> shit the bed. I've never had specific messages kill it though.

Note that once updating to nupas, you should then (manually)
convert your mailbox to the new format. I've had mailboxes of
several thousand messages (although I'm not sure I've hit 16k)
which kill (o)upas reliably but nupas handles perfectly well.
The conversion is a one-time process and is pretty safe, but
obviously you should make sure you have a copy of the
mailbox somewhere safe first (like the dump).

Anthony


[-- Attachment #2: Message signed with OpenPGP using GPGMail --]
[-- Type: application/pgp-signature, Size: 210 bytes --]

^ permalink raw reply	[flat|nested] 29+ messages in thread

* Re: [9fans] Reading gmail
  2012-05-15 15:56       ` Anthony Sorace
@ 2012-05-15 16:04         ` sl
  0 siblings, 0 replies; 29+ messages in thread
From: sl @ 2012-05-15 16:04 UTC (permalink / raw)
  To: 9fans

In my experience nupas was definitely nicer to use with gmail.
With the old upas, loading the inbox over a slow connection
would sometimes take several minutes. With nupas, it usually
took only a few seconds.

-sl



^ permalink raw reply	[flat|nested] 29+ messages in thread

* Re: [9fans] Reading gmail
  2012-05-15  3:51   ` John Floren
  2012-05-15  3:57     ` Matthew Veety
@ 2012-05-19 17:37     ` Akshat Kumar
  2012-05-19 20:31       ` Charles Forsyth
  2012-05-19 20:42       ` Anthony Sorace
       [not found]     ` <CABwSpPCb0DrkDocY4Qg=8814HB1Ws=uF=jnGbcDy4j-1U7Y7Ag@mail.gmail.c>
  2 siblings, 2 replies; 29+ messages in thread
From: Akshat Kumar @ 2012-05-19 17:37 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

Both upas and nupas die instantly on my
mail box. I've gotten tired of filtering through
my mail for (n)upas choking hazards. What
frail software.

On Mon, May 14, 2012 at 8:51 PM, John Floren <john@jfloren.net> wrote:
> On Mon, May 14, 2012 at 8:08 PM,  <sl@9front.org> wrote:
>>> Is there any way to read gmail from plan9?  Over SSL imap
>>> maybe? I searched for imapfs but came up with nothing.
>>
>> Mount your gmail account via IMAP:
>>
>>        upas/fs -f /imaps/imap.gmail.com/username@gmail.com
>>
>> The first time you try this, upas/fs will complain:
>>
>>        upas/fs: opening /imaps/imap.gmail.com/username@gmail.com: imap.gmail.com/imaps:server certificate HASH not recognized
>>
>> Add the provided certificate to /sys/lib/tls/mail, like so:
>>
>>        x509 sha1=HASH
>>
>> Run the upas/fs line again, and this time gmail via IMAP will
>> be mounted in /mail/fs, accessible to the standard mail tools.
>>
>> -sl
>>
>
> If you have a large number of messages, Erik's "nupas" is useful; IIRC
> it will cache messages locally so you don't have to download a ton of
> headers each time you start upas.
>
> However I've found that with both old upas and nupas, there are some
> messages that make them choke. Sadly I can't remember what triggered
> it.
>
> john
>



^ permalink raw reply	[flat|nested] 29+ messages in thread

* Re: [9fans] Reading gmail
  2012-05-19 17:37     ` Akshat Kumar
@ 2012-05-19 20:31       ` Charles Forsyth
  2012-05-19 20:42       ` Anthony Sorace
  1 sibling, 0 replies; 29+ messages in thread
From: Charles Forsyth @ 2012-05-19 20:31 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

[-- Attachment #1: Type: text/plain, Size: 191 bytes --]

I suspect it will be the imap aspect. I'd run upas/fs on mailboxes with far
too many thousand messages regularly
(you need the RAM for it), for far too many years, without any fatalities.

[-- Attachment #2: Type: text/html, Size: 218 bytes --]

^ permalink raw reply	[flat|nested] 29+ messages in thread

* Re: [9fans] Reading gmail
  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
  1 sibling, 1 reply; 29+ messages in thread
From: Anthony Sorace @ 2012-05-19 20:42 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

[-- Attachment #1: Type: text/plain, Size: 558 bytes --]

On May 19, 2012, at 13:37 , Akshat Kumar wrote:

> Both upas and nupas die instantly on my
> mail box. I've gotten tired of filtering through
> my mail for (n)upas choking hazards. What
> frail software.

I'd be curious what the failures were (and I bet Erik would,
too). (o)upas used to have a hard time with very large
mailboxes, but i've not seen nupas have that issue. In
particular, I've never seen individual messages cause it to
die (although I have seen individual messages be poorly
parsed). I think "frail" is a mischaracterization.


[-- Attachment #2: Message signed with OpenPGP using GPGMail --]
[-- Type: application/pgp-signature, Size: 210 bytes --]

^ permalink raw reply	[flat|nested] 29+ messages in thread

* Re: [9fans] Reading gmail
  2012-05-19 20:42       ` Anthony Sorace
@ 2012-05-19 20:54         ` Steve Simon
  2012-05-19 21:06           ` Charles Forsyth
  0 siblings, 1 reply; 29+ messages in thread
From: Steve Simon @ 2012-05-19 20:54 UTC (permalink / raw)
  To: 9fans

> I think "frail" is a mischaracterization.

Indeed, upas has been my only mail interface for about 7 years, without a glitch,
though I have recently bought an ipad - but that connects via imap to plan9 too.

-Steve



^ permalink raw reply	[flat|nested] 29+ messages in thread

* Re: [9fans] Reading gmail
  2012-05-19 20:54         ` Steve Simon
@ 2012-05-19 21:06           ` Charles Forsyth
  2012-05-19 22:33             ` Kurt H Maier
                               ` (2 more replies)
  0 siblings, 3 replies; 29+ messages in thread
From: Charles Forsyth @ 2012-05-19 21:06 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

[-- Attachment #1: Type: text/plain, Size: 300 bytes --]

Oh my whiskers! Oh my paws! Can't we make this stop? I suppose you'll now
start posting incomplete things with the frail excuse that "you haven't got
a keyboard" and "posted from my ipad".

On 19 May 2012 21:54, Steve Simon <steve@quintile.net> wrote:

> though I have recently bought an ipad

[-- Attachment #2: Type: text/html, Size: 571 bytes --]

^ permalink raw reply	[flat|nested] 29+ messages in thread

* Re: [9fans] Reading gmail
       [not found]     ` <CABwSpPCb0DrkDocY4Qg=8814HB1Ws=uF=jnGbcDy4j-1U7Y7Ag@mail.gmail.c>
@ 2012-05-19 21:39       ` erik quanstrom
  0 siblings, 0 replies; 29+ messages in thread
From: erik quanstrom @ 2012-05-19 21:39 UTC (permalink / raw)
  To: 9fans

On Sat May 19 13:38:53 EDT 2012, akumar@mail.nanosouffle.net wrote:
> Both upas and nupas die instantly on my
> mail box. I've gotten tired of filtering through
> my mail for (n)upas choking hazards. What
> frail software.

since you have a reliable reproducer, why don't you send
a back trace and or an example of an offending message
so the bug(s) can be worked out?

otherwise, there is 0 chance i'll spend time looking
for random bugs in upas that my users have not seen.

- erik



^ permalink raw reply	[flat|nested] 29+ messages in thread

* Re: [9fans] Reading gmail
  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
  2 siblings, 0 replies; 29+ messages in thread
From: Kurt H Maier @ 2012-05-19 22:33 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

On Sat, May 19, 2012 at 10:06:05PM +0100, Charles Forsyth wrote:
> Oh my whiskers! Oh my paws!

As long as we're off-topic, this is a misquote.



^ permalink raw reply	[flat|nested] 29+ messages in thread

* Re: [9fans] Reading gmail
  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
  2 siblings, 0 replies; 29+ messages in thread
From: Nemo @ 2012-05-19 23:11 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

[-- Attachment #1: Type: text/plain, Size: 446 bytes --]

let me! let me!

--
iphone kbd. excuse typos :)


On May 19, 2012, at 11:06 PM, Charles Forsyth <charles.forsyth@gmail.com> wrote:

> Oh my whiskers! Oh my paws! Can't we make this stop? I suppose you'll now start posting incomplete things with the frail excuse that "you haven't got a keyboard" and "posted from my ipad".
> 
> On 19 May 2012 21:54, Steve Simon <steve@quintile.net> wrote:
> though I have recently bought an ipad
> 

[-- Attachment #2: Type: text/html, Size: 904 bytes --]

^ permalink raw reply	[flat|nested] 29+ messages in thread

* Re: [9fans] Reading gmail
  2012-05-15  8:43       ` erik quanstrom
@ 2012-05-20  3:30         ` Matthew Veety
  2012-05-20 12:45           ` erik quanstrom
  0 siblings, 1 reply; 29+ messages in thread
From: Matthew Veety @ 2012-05-20  3:30 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

On May 15, 2012, at 4:43 AM, erik quanstrom wrote:

> On Mon May 14 23:58:41 EDT 2012, mveety@gmail.com wrote:
>> 
>> On May 14, 2012, at 11:51 PM, John Floren wrote:
>>> 
>>> If you have a large number of messages, Erik's "nupas" is useful; IIRC
>>> it will cache messages locally so you don't have to download a ton of
>>> headers each time you start upas.
>>> 
>>> However I've found that with both old upas and nupas, there are some
>>> messages that make them choke. Sadly I can't remember what triggered
>>> it.
>>> 
>>> john
>>> 
>> 
>> My 16,000 message inbox usually make nupas and upas shit the bed. I've never had specific messages kill it though.
> 
> the nupas core should be ok with 16k messages
> 
> 	minooka; mail -f bigmbox
> 	45465 messages, 44899 unread
> 	: q
> 
> on the other hand, i can easily believe the imap mailbox type
> can't handle this.  i haven't used imap mailboxes much, and
> when i did, they were very small.  if you have specific ideas,
> and or observed problems, i'd be glad to incorporate them.
> 
> - erik
> 

It's imap. My other mail clients don't have much issue with it (alpine will choke on a slow connection), but my work machine (running 9front) is having definite issues. I'll totally look into this more for you, Erik.

PS. You have >44000 unread messages?!?!?!?!?
--
Veety


^ permalink raw reply	[flat|nested] 29+ messages in thread

* Re: [9fans] Reading gmail
  2012-05-20  3:30         ` Matthew Veety
@ 2012-05-20 12:45           ` erik quanstrom
  2012-05-20 12:47             ` Matthew Veety
  0 siblings, 1 reply; 29+ messages in thread
From: erik quanstrom @ 2012-05-20 12:45 UTC (permalink / raw)
  To: 9fans

> PS. You have >44000 unread messages?!?!?!?!?  -- Veety

you don't?  it's an archive mailbox.

- erik



^ permalink raw reply	[flat|nested] 29+ messages in thread

* Re: [9fans] Reading gmail
  2012-05-20 12:45           ` erik quanstrom
@ 2012-05-20 12:47             ` Matthew Veety
  2012-05-20 13:02               ` erik quanstrom
  0 siblings, 1 reply; 29+ messages in thread
From: Matthew Veety @ 2012-05-20 12:47 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs


On May 20, 2012, at 8:45 AM, erik quanstrom wrote:

>> PS. You have >44000 unread messages?!?!?!?!?  -- Veety
>
> you don't?  it's an archive mailbox.
>
> - erik
>

Mailboxes are complicated. I only have three: Inbox, Sent, and Trash.

--
Veety



^ permalink raw reply	[flat|nested] 29+ messages in thread

* Re: [9fans] Reading gmail
  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
  0 siblings, 2 replies; 29+ messages in thread
From: erik quanstrom @ 2012-05-20 13:02 UTC (permalink / raw)
  To: 9fans

> Mailboxes are complicated. I only have three: Inbox, Sent, and Trash.

[citation needed].

i didn't say the mailbox was owned by me.  our system has
~1.2m messages in ~1k folders spread among ~100 users.

i would say to claim that mailboxes are complicated you'd need to also
claim that file and directories are complicated.  with nupas, if you have
two mail boxes and you want to combine them, you simply "cp b/* a;
rm -r b".  or in ned,
	g/./s a
	g/./d

- erik



^ permalink raw reply	[flat|nested] 29+ messages in thread

* Re: [9fans] Reading gmail
  2012-05-20 13:02               ` erik quanstrom
@ 2012-05-20 13:15                 ` Kurt H Maier
  2012-05-20 13:15                 ` Bruce Ellis
  1 sibling, 0 replies; 29+ messages in thread
From: Kurt H Maier @ 2012-05-20 13:15 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

On Sun, May 20, 2012 at 09:02:03AM -0400, erik quanstrom wrote:
> i didn't say the mailbox was owned by me.  our system has
> ~1.2m messages in ~1k folders spread among ~100 users.

Thanks for letting us know



^ permalink raw reply	[flat|nested] 29+ messages in thread

* Re: [9fans] Reading gmail
  2012-05-20 13:02               ` erik quanstrom
  2012-05-20 13:15                 ` Kurt H Maier
@ 2012-05-20 13:15                 ` Bruce Ellis
  1 sibling, 0 replies; 29+ messages in thread
From: Bruce Ellis @ 2012-05-20 13:15 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

out of interest does gmail do something useful when presenting mail
that is labeled?

brucee

On 20 May 2012 23:02, erik quanstrom <quanstro@quanstro.net> wrote:
>> Mailboxes are complicated. I only have three: Inbox, Sent, and Trash.
>
> [citation needed].
>
> i didn't say the mailbox was owned by me.  our system has
> ~1.2m messages in ~1k folders spread among ~100 users.
>
> i would say to claim that mailboxes are complicated you'd need to also
> claim that file and directories are complicated.  with nupas, if you have
> two mail boxes and you want to combine them, you simply "cp b/* a;
> rm -r b".  or in ned,
>        g/./s a
>        g/./d
>
> - erik
>



-- 
Don't meddle in the mouth -- MVS (0416935147, +1-513-3BRUCEE)



^ permalink raw reply	[flat|nested] 29+ messages in thread

* Re: [9fans] Reading gmail
  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
  2 siblings, 0 replies; 29+ messages in thread
From: Ethan Grammatikidis @ 2012-05-20 20:50 UTC (permalink / raw)
  To: 9fans

On Sat, 19 May 2012 22:06:05 +0100
Charles Forsyth <charles.forsyth@gmail.com> wrote:

> Oh my whiskers! Oh my paws! Can't we make this stop? I suppose you'll now
> start posting incomplete things with the frail excuse that "you haven't got
> a keyboard" and "posted from my ipad".
>
> On 19 May 2012 21:54, Steve Simon <steve@quintile.net> wrote:
>
> > though I have recently bought an ipad

You all should chuck your ipads and get palms from about 10-12 years
ago. I loved the onscreen keyboard in my m515. I used it with the
stylus, taptaptaptap, fast entry with practially no mistakes, perhaps
fewer than I make on a keyboard, and this from someone who has trouble
writing due to poor muscle control. With a 160x160 pixel transflective
screen it was usable in bright sunshine too; I used to sit on the Downs
texting my friends. Getting a Zaurus was the worst thing for my social
life. :)

I'm thinking of pairing the palm with my Kindle in a folding case, but
haven't got any real ideas for it other than using the Palm for text
entry and maybe using the original calendar which was nice -- simple
and efficient. I like to write when I'm out in the countryside where
laptops mean neck strain and my Zaurus makes my thumbs ache.



^ permalink raw reply	[flat|nested] 29+ messages in thread

end of thread, other threads:[~2012-05-20 20:50 UTC | newest]

Thread overview: 29+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-05-15  2:51 [9fans] Reading gmail 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
2012-05-15 13:50         ` 9
2012-05-15  6:41       ` 9 9

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).