<<< Date Index >>>     <<< Thread Index >>>

Making aliases for mail folders



Hello.

I currently have a macro setup in my muttrc:

macro index <left> "c?<toggle-mailboxes>"

This way, when I am in the message index and I press the left cursor
key, I'm taken to a list of my defined mailboxes.

So I am in the index and press the left cursor, then I see:

1     -rw-r--r--  1 ahaning  users        3791 Jun 06 18:06 =inbox
2     -rw-------  1 ahaning  users     1543451 Jun 06 14:45 =work/inbox
3     -rw-------  1 ahaning  users      188945 Jun 06 17:58 =personal/funlist
4     -rw-------  1 ahaning  users     2860535 Jun 06 17:58 =work/trash

The names in the righthand column are the actual paths to my
mailboxes. What I would prefer is to be able to leave the mailboxes
named as they are but have mutt call them something else, so that if I
was in the message index and pressed the left cursor key, I would see:

1     -rw-r--r--  1 ahaning  users        3791 Jun 06 18:06 Catchall_Inbox
2     -rw-------  1 ahaning  users     1543451 Jun 06 14:45 Work_Inbox
3     -rw-------  1 ahaning  users      188945 Jun 06 17:58 Personal_Funlist
4     -rw-------  1 ahaning  users     2860535 Jun 06 17:58 Work_Trash

I've read around the net a bit and it looks like other people want
this feature, but usually for IMAP folders. If possible, it would be
nice if this could be done for mbox files, too.

Is there a way to do this with mutt or is there a patch available
somewhere that will add this capability?

Thanks!

-Andy