Shao, a thought just struck me. You could use symlinks to move your email folders around a bit -- so mutt only sees a symlink to them. The mutt on my redhat server (blasted...:) doesn't lstat() the symlinks, it just stat()s them. This might be the thing you need, since procmail should be smart enough to deliver through symlinks, and mutt won't bother trying to stat() them for info -- maybe this is the thing to do.
Please let me know if this works! ;) On Sun, Sep 19, 1999 at 06:51:36PM +1000, Shao Zhang wrote: > Hi, > This is the first thing that I come up with. But it still does not > meet what I need... > > In mutt, when the first TAB pressed for changing the folders, it > will read all the folders from $Mailbox varaible(good), but if I > accidently press another TAB, it will read the folders from > $folder. My ~/Mail directory is about 200MB big, and mutt will > just take a long time to scan them. > > I still believe there is a way to do it via save-hook. But yet, > I haven't heard any answer from the mutt mailing list and the > newsgroup. > > Thanks. > > Shao. > > David Wright [EMAIL PROTECTED] wrote: > > Quoting Shao Zhang ([EMAIL PROTECTED]): > > > Hi, > > > This is not what I want. > > > I read my mails in ~/mail, so I have already used > > > folder = ~/mail. > > > > Surely that's the wrong way round. Put the filenames you read mail from > > (i.e. the inboxes files that procmail writes) into a mailboxes command. > > This will make the c command prompt with them automatically, notify you > > when mail arrives, and allow your status line to tell you how many contain > > new messages. > > > > mailboxes ! ~/mail/foo ~/mail/bar > > > > The ! is short for the system default mailbox which I don't use but I'd > > sure want to see anything that arrived there. > > > > > But when I save the message, I want to save it in ~/Mail. > > > Thanks. > > > > For which the > > > > set folder=~/Mail > > > > is intended, a folder for files containing mail. When you give the s > > command, the = sign will act as shorthand for ~/Mail/ > > > > > > On Wed, Sep 08, 1999 at 12:19:03PM +1000, Shao Zhang wrote: > > > > > > > > > > Hi, > > > > > > I am using mutt to read all the messages in ~/mail. > > > > > > When I save a message from a person say [EMAIL PROTECTED] > > > > > > > > > > > > I want to mutt to give me a default filename like this: > > > > > > > > > > > > ~/Mail/[EMAIL PROTECTED] > > > > > > > > > > > > If I only set the save_address, then mutt will default the > > > > > > filename to ~/mail/[EMAIL PROTECTED] So how do I let mutt to > > > > > > choose > > > > > > a different folder I want when saving the msg. > > > > Cheers, > > > > -- > > Email: [EMAIL PROTECTED] Tel: +44 1908 653 739 Fax: +44 1908 655 151 > > Snail: David Wright, Earth Science Dept., Milton Keynes, England, MK7 6AA > > Disclaimer: These addresses are only for reaching me, and do not signify > > official stationery. Views expressed here are either my own or plagiarised. > > > > > > -- > > Unsubscribe? mail -s unsubscribe [EMAIL PROTECTED] < /dev/null > > > > > > -- > ____________________________________________________________________________ > Shao Zhang - Running Debian 2.1 ___ _ _____ > Department of Communications / __| |_ __ _ ___ |_ / |_ __ _ _ _ __ _ > University of New South Wales \__ \ ' \/ _` / _ \ / /| ' \/ _` | ' \/ _` | > Sydney, Australia |___/_||_\__,_\___/ /___|_||_\__,_|_||_\__, | > Email: [EMAIL PROTECTED] > |___/ > _____________________________________________________________________________ > > > -- > Unsubscribe? mail -s unsubscribe [EMAIL PROTECTED] < /dev/null -- Seth Arnold | http://www.willamette.edu/~sarnold/ Hate spam? See http://maps.vix.com/rbl/ for help Hi! I'm a .signature virus! Copy me into your ~/.signature to help me spread!