From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <509071940711140823i634ab700ibfe78ff8fd0d2cca@mail.gmail.com> Date: Wed, 14 Nov 2007 11:23:20 -0500 From: "Anthony Sorace" To: "Fans of the OS Plan 9 from Bell Labs" <9fans@cse.psu.edu> Subject: Re: [9fans] Trouble with email In-Reply-To: <315609193c5e3dcf27c516b6e2bf96ba@quintile.net> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <315609193c5e3dcf27c516b6e2bf96ba@quintile.net> Topicbox-Message-UUID: f92e3a68-ead2-11e9-9d60-3106f5b1d025 I have a bin/rc/riostart which is invoked when I (surprise!) start rio. It contains the following lines (with the names changed) (upas/fs is already run, without arguments, from my profile): echo -n 'open /imap/server1/anthony server1' > /mail/fs/ctl echo -n 'open /imap/server2/anthony server2' > /mail/fs/ctl mboxes=`{for (i in /mail/fs/*) {if (test -d $i) {echo -n '-m '$i}}} window 0,0,$b,115 faces -i $mboxes The -m argument tells faces to pay attention to mail coming in to the mailbox named by its argument, found in the upas/fs dir (by default /mail/fs). It gets repeated for each open mailbox. I run 'Mail server1' and 'Mail server2' manually in Acme when I want to read the mail. That and the plumbing from faces work well.