factotum -g 'key=mykey proto=pass service=imap server=yourserverurl 
user=yourimapusername !password?'

then 

mailfs yourserverurl

or, if you want tls: 

mailfs -t yourserverurl 

Once it has returned, you can use as a ui the Mail command in acme
for example.

Cheers,
Mathieu
--- Begin Message ---
On Fri, 2009-02-20 at 03:06 -0800, Russ Cox rsc-at-swtch.com |9fans|
wrote:
> I didn't bring over upas/fs.
> There is a separate program, not installed
> by default, in src/cmd/upas/nfs (n=new)
> that speaks only imap.  When installed, its
> name is mailfs.  It works with the nedmail
> and acme Mail that are in the plan9port
> distribution; the file tree is slightly different
> than the standard upas/fs (more faithful to imap).
> It downloads pieces of the message as it
> needs them, so if you have big attachments,
> they don't get downloaded until you ask for them.
> Messages saved with the Save command
> go into imap folders, not local files.
> I used this setup for a few years against a dovecot
> imap server.  It does not work against the
> gmail imap server, because gmail imap
> will not serve the full mime tree of the message;
> it only gives you the raw message bytes.
> 
> Russ
> 

I must be getting dumber, but while I think I successfully built and
installed src/cmd/upas/nfs as mailfs (P9P on debian/testing linux), I
have failed to figure out how to get it to talk to my dovecot server.
Can someone post an example of the command-line they use to run it
(perhaps with a short explanation of the arguments)?

        thanks,
        Peter Canning



--- End Message ---

Reply via email to