On Fri, 23 Apr 1999, [EMAIL PROTECTED] wrote:
> My main concern is "address book". Mutt seems to assume some familiatary from the
>user with "aliases". Its seeming lack of explanation or tools to "address" a mail
>leads me to beleive its far too simple and that I completely dont undersatnd the
>principle of "alaises".
> I really need to know -how- mutts tools work with simply addressing an email
> Im _sure_ i dont have to type the address by hand!
Here's how to do it: Choose *any* email you have received and click
'a'. By default, 'a' is bound to the function that creates a new alias
entry in the addressbook. Mutt will promot you for the name and email
address, prefilled with the data taken from the currently selected
message. Just accept the prompts. You may repeat this for every person
whose address you want to store in the addressbook, but it's a little
inconvenient. So, after you've added one alias, just quit mutt and
open the aliases file in a text editor. There you'll see the format of
the file, it's really very simple:
alias JohnD John Doe <[EMAIL PROTECTED]>
The string 'JohnD' is the short name you would normally type, which
mutt then expands to the full name and address of that person.
Following this format, you can manually add all the aliases you need.
It was the preferred way for me; you can do it either way.
Note 1: You need to tell mutt where your aliases are stored. You may
simply keep them all in your '.muttrc' file, but it may be more handy
to create a separate file for them (and you can have as many such files
as you want). My aliases file is called '.aliases' and sits in my $HOME
directory - so I need to have th following line in .muttrc:
set alias_file=~/.aliases
source ~/.aliases
(this is, I think, included in the default .muttrc file you get with mutt,
but I may be mistaken there. I certainly didn't come up with this myself :)
Note 2: When sending a new message, you don't even need to type the alias
string at all. When mutt prompts you for the 'To:' field, just hit <tab>
and then select the address(es) you want from the menu.
.marek
--
General Frenetics, Discorporated: http://www.lodz.pdi.net/~eristic/
"So tell me, just how long have you had this feeling that no one is
watching you?" (Christopher Locke: Entropy Gradient Reversals)