I hav run faces and upas/fs against imap before though not for some years,
I'm pretty sure it just worked. faces needs to run in the namespace
of upas/fs so it can access the mailbox (I start upasfs before rio in my 
profile.

these days I collect email from the work imap (MS exchange) server and feed it 
into
the plan9 email system so it gets appended to my mbox in a traditional manner.

I run this script from my profile

#!/bin/rc

rfork en

upas/fs -f /imaps/wmail.mywork.com/stevesimon
cd /mail/fs/mbox

while(){
        for (f in `{ls | grep '^[0-9]+' | sort -n}){
                upas/send -r inject!$user < $f/raw
                rm $f
        }
        sleep 60
}

and I added this line to my /mail/lib/rewrite

# deliver injected mail locally
inject!(.*)             >>              /mail/box/\1/mbox

as I said, faces and imap should just work and you get to keep your
email on your imap server. I did the above because I wanted to store
my email locally and have it backed up by venti :-)

Also I start faces with -s to show all email rather than just new stuff.

-Steve

Reply via email to