From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <315609193c5e3dcf27c516b6e2bf96ba@quintile.net> From: "Steve Simon" Date: Wed, 14 Nov 2007 08:57:57 +0000 To: 9fans@cse.psu.edu Subject: Re: [9fans] Trouble with email In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Topicbox-Message-UUID: f8fd0722-ead2-11e9-9d60-3106f5b1d025 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