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

Re: Can I configure a mailbox alias?



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Thursday, February 12 at 04:41 PM, quoth Grant Edwards:
>Google found me plenty of info about setting up aliases for
>email addresses, but nothing about setting up aliases for
>mailboxes.  For example, is there a way I can refer to
>"=[Gmail]/Sent Mail" by an alias such as "sent"?

There isn't a straightforward way of setting up *arbitrary* aliases, 
unfortunately.

There *ARE* a limited number of pre-defined aliases. You're already 
using one: = to mean $folder. The character < means $record, which is 
usually where people store their sent messages. There are others (see 
http://www.mutt.org/doc/devel/manual.html#shortcuts).

The rather *roundabout* way of setting up arbitrary aliases is to use 
the @alias notation, and define a few email aliases to get just the 
names you want. It's not optimal, obviously, but you should be able to 
use that to define "@sent" to be an alias for "=[Gmail]/Sent Mail" 
like so:

     alias sent 12345678901234567890@localhost
     send-hook 12345678901234567890@localhost "=[Gmail]/Sent Mail"

~Kyle
- -- 
Education is the ability to listen to almost anything without losing 
your temper.
                                                        -- Robert Frost
-----BEGIN PGP SIGNATURE-----
Comment: Thank you for using encryption!

iEYEARECAAYFAkmUVOgACgkQBkIOoMqOI152ewCfXgk+5u2Tk79Lb9jTA01y1ocL
i+IAnjFfAn3WqF+nm3VYx3FSB15PuKDK
=QlTl
-----END PGP SIGNATURE-----