[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Email client and conversion from Netscape Mail on win32



On Fri, Mar 09, 2001 at 02:48:04PM -0800, Michael Epting wrote:
> On Fri, Mar 09, 2001 at 02:22:37PM -0800, brian moore wrote:
> > On Fri, Mar 09, 2001 at 02:17:06PM -0800, Mike Fedyk wrote:
> > > Does mutt have any address book support?  Autocompletion would be really
> > 
> > yes.  either the internal one, or using an external database.
> 
> Believing this to be true, I installed the abook package a while back.
> However, I have been unable to locate a shred of documentation on how
> mutt and abook work together.  Any hints on where to look?

Hrrm... seems simple enough (though it doesn't seem to do substrings in
a way I can guess offhand).

Add to your .muttrc:

set query_command="abook --mutt-query '%s'"

Then convert your mutt alias file to abook's format:

abook --convert mutt .mutt_aliases abook .abook.addressbook

(you'll probably change the .mutt_aliases's name to whatever yours is...)

The 'Q' (case matters) command will now pop up with 'Query?' and if you
type the name of the alias, it will give you a choice of one item and if
you select that, you can mail that person.

It may very well allow substrings of some sort, but as I said, I can't
figure it out.. 'a*' should, imho, bring up all aliases that start with
'a', but, um, it doesn't.  There's also the 'lbdb', but I haven't played
with that one either.  It's probably more complete, as it's been around
for a long time.

-- 
CueCat decoder .signature by Larry Wall:
#!/usr/bin/perl -n
printf "Serial: %s Type: %s Code: %s\n", map { tr/a-zA-Z0-9+-/ -_/; $_ = unpack
'u', chr(32 + length()*3/4) . $_; s/\0+$//; $_ ^= "C" x length; } /\.([^.]+)/g; 



Reply to: