For once, I know the answer :) (Or, more accurately, where to find it..)
On Mon, Oct 04, 1999 at 05:04:54PM -0400 or thereabouts, Brian Fields wrote:
> Hello,
>
> I've been using Pine with IMAP on a Linux server and I want to move to
> mutt because of its wonderful interface and configurability.
>
> I just joined the list today and cannot find any mention of using an
> address book as in Pine. Is there a way to add an addressbook to mutt?
Caveat: I've used Pine about twice ever, so this isn't personal
experience and I haven't tried this, but... I think what pine calls
address book is what mutt calls aliases, and mutt has that already.
The Pine FAQ at http://www.math.fu-berlin.de/~guckes/pine/ even
tells you how to convert your current Pine address to mutt aliases.
(Oddly enough, this isn't in the mutt FAQ that I could find.)
From Pine to Mutt [971222]
Q: How do I convert my PINE addressbook file to MUTT alias
format?
A: Use this perl command:
perl -ane '$F[$#F] = "<$F[$#F]>"; print "alias @F\n";' \
$HOME/.addressbook > $HOME/.mutt.aliases
The resulting data (the mail aliases) will be saved in file
"$HOME/.mutt.aliases"; to make mutt read them in on startup you
must add this line to mutt's setup file:
source $HOME/.mutt.aliases
You can find more about alias files in section 3.2 of the manual.
There are also some variables which affect how you want your list
of aliases to appear. (Section 6, scattered through it.)
Btw: if you prefer the Pine keybindings, mutt generally comes with a set
of Pine keybindings. You need to find a file called Pine.rc -- on
my Red Hat Linux system it's in /usr/doc/mutt-<version>. I think it may
be elsewhere on Debian? Those settings need to go into your .muttrc
file in your home directory. Or you could put something like,
source <full path name to that file>
into your .muttrc, which is a lot less typing. (Section 3.21 of
the manual, and it uses alias files as the example, which is handy
for you. Perhaps.)
Hope this helps.
Telsa