[9fans] Gmail and upas

2008-11-20 Thread David Welling
Hello all, firstly let me mention that I'm pretty stoked about using
Plan 9. I've been using it for about a week now, and things are coming
along well.

I'm having a bit of an issue, and it may entirely stem from my lack of
familiarity on the system, so I apologize in advance if this turns out
to be a silly problem:

When I throw

upas/fs -f /imaps/imap.gmail.com/[EMAIL PROTECTED]

into my profile, (after the plumber, before I start rio; as per the
suggestion regarding mail on the wiki), I get a ludicrous amount of
errors after a while akin to this:

download 1768: i/o error: i/o on hungup channel
download 1769: i/o error: i/o on hungup channel
download 1770: i/o error: i/o on hungup channel
download 1771: i/o error: i/o on hungup channel

Et cetera. I did have copious amounts of mail in this box, somewhere
in the neighborhood of 3500. When I first ran this procedure, it
worked pretty well, albeit it slowly (3500 is a lot of messages to go
through). I got some similar messages, but I was able to access my
mail, and my machine seemed to run just fine. I used gmail's web
interface to clean out about 2000 of those mails, and rebooted the
system. Now, with these errors, the system grinds to a halt and there
is no responsiveness to speak of.

If any of you folks have any constructive suggestions, I certainly
appreciate the input. I perused various manpages and tried to dig
through the archives here, but haven't seen a problem quite like mine.

Thanks in advance,
Sid



Re: [9fans] Gmail and upas

2008-11-21 Thread David Welling
I'm quite impressed by the horde of responses this has garnered in
little more than 15 hours, I thank everyone for their help.
I have not yet tried nupas, but have gotten a reasonable solution working.

It appeared that while I was tweaking my setup (and rebooting often,
causing upas to re-download thousands of messages over and over again)
gmail decided I was a bot and gave me a SECTOR 4 LOCKDOWN, a temporary
status when an account is being used too much that prevents access.
With a little patience I rebooted my machine in the morning and went
to class. After class I came home to a brilliant display of faces and
acme-mail goodness.

So my solution, albeit temporary, causes long boot times (and prevents
me from having to reboot a ton (at least without first removing the
box from the interblarg). But, given that this machine is intended to
stay up for extended periods of time, I don't forsee that as an issue.
Maybe once I've really gotten a stronger feel for things I'll dedicate
a machine and just import /mail to my terminal.

Using pop3 access would eliminate this issue altogether, but I'm sure
all you plan9gmailers out there already know that gmail is a little
wonky with upas, due to gmail's nonconformity in forcing pop clients
into thinking that they are removing the server-side copy of the mail.

Oh well, I'll spend some more time tweaking and breaking. That's the
fun of it all.

Also, Ruda, you can get gmail's web interface working with abaco,
there's a patch you have to apply to webfs to get the cookies working
correctly. For more information peruse the plan9 wiki, someone threw
up a nice gmail page.