From mboxrd@z Thu Jan 1 00:00:00 1970 MIME-Version: 1.0 In-Reply-To: References: From: John Floren Date: Mon, 14 May 2012 20:51:41 -0700 Message-ID: To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Subject: Re: [9fans] Reading gmail Topicbox-Message-UUID: 8c0216b2-ead7-11e9-9d60-3106f5b1d025 On Mon, May 14, 2012 at 8:08 PM, wrote: >> Is there any way to read gmail from plan9? =A0Over SSL imap >> maybe? I searched for imapfs but came up with nothing. > > Mount your gmail account via IMAP: > > =A0 =A0 =A0 =A0upas/fs -f /imaps/imap.gmail.com/username@gmail.com > > The first time you try this, upas/fs will complain: > > =A0 =A0 =A0 =A0upas/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: > > =A0 =A0 =A0 =A0x509 sha1=3DHASH > > 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