On Sat, Sep 29, 2001 at 11:15:04AM +0300, Jussi Ekholm wrote: > On Sat, Sep 29, 2001 at 10:49:27AM +0530, Jeffrin Jose T. wrote: > > > Hello all , > > > > Is there any option in mutt such that it > > is possible to add address of the sender to abook ? > > I'm not sure, but you might be looking for aliases. Put something > like this in your ~/.muttrc; > > alias <name> <address> [ , <address> ... ]
Instead of manually adding aliases to your .muttrc, if the "alias-file" variable is set, the default binding of the 'a' key in the index and the pager adds an alias from the currently selected message to your addressbook. To use these aliases, you must also load the alias-file somewhere in your .muttrc by adding the line 'source ~/.addressbook' replacing ~/.addressbook with the name you choose. Example: I recieve a message from [EMAIL PROTECTED] I type 'a' and it prompts me to enter a nickname: 'bie'. From then on, when I type 'bie' in the To: field, '[EMAIL PROTECTED]' is substituted. -ben -- -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- Ben Hartshorne ...Discarding smoothly, as we disembark, [EMAIL PROTECTED] All thoughts that held us wiser for a moment ben.hartshorne.net Up there, alone, in the impartial dark. -M. Oliver My PGP key is at /pgp.txt. Please encrypt all communications.
pgpXHgshCHvGr.pgp
Description: PGP signature