Re: mutt and aliases
At 04:26 PM 3/21/2003 +0000, email@example.com wrote:
> At 12:57 PM 3/21/2003 +0000, Joao Pedro Clemente wrote:
>> > On Fri, Mar 21, 2003 at 03:04:22AM +0000, Joao Clemente wrote:
>> > > Btw, how do you take out addresses automatically?
>>"How can you take an adress out of a mail message and put it in an
>> alias file", that was the question. :-)
> When you're viewing an e-mail with an address you'd like to add, hit
> "a". Too simple, eh ?? :-) This will prompt you a few times and then
> write it.
Yep ;-) And I just found out I didn't had to use mail2alias.py for that to
work... I've read all the mutt manual yesterday and I'm quite sure that
"action" is not documented there :(
I believe it's just a keybinding or macro (don't know the difference)
that's defined in the default .muttrc or maybe /etc/Muttrc. For all I know,
that keybinding just calls something similar to "mail2alias.py" (???).
Anyway, that is still not what I wanted. For instance, what I get when I
press "a" with and e-mail that has this header
-From: "Diogo Quintela (EF)" <firstname.lastname@example.org>
-To: <email@example.com>, <firstname.lastname@example.org>,...
is that "a" allows me to get "email@example.com", but what I wanted was that
it allowed me to select from a list, just like pine allows...
For instance, it could do like this:
Multiple e-mail addresses found. Please choose the one you want:
For instance, what if someone tells you, in a mail:
" From: firstname.lastname@example.org
Hi! About your problem, please mail email@example.com ! "
How do you take that "firstname.lastname@example.org" address? write it down in a
paper, exit mutt, add alias to file, enter mutt? (or some other
combination of these actions, whatever)
mutt is just looking at certain headers, not text in the body of a message.
Keep using your current method. :-)