On Thu, Jan 31, 2002 at 03:03:36AM +0100, Cedric Duval wrote:
> > My .mutt.aliases file is getting a little large now it's and not always
> > easy to remember how I've named people.
> 
> Er, why not something very simple like this?
>   alias nick_wilson    Nick Wilson <[EMAIL PROTECTED]>
> 
> Avoid nicknames, and just use their real names. That's the easiest way
> to remember how you named them!
> 
> > How can I better organize my contacts?
> 
> You might be interested in trying the Little Big Brother Database, and
> the m_inmail module in particular:
> 
>   http://www.spinnaker.de/lbdb/

I'll second the suggestion to try lbdb.  I've been using it for about a
week to search both the NIS passwd database (using the m_yppasswd
module) for local Unix users' addresses and our corporate LDAP database
(using the m_ldap module) for all employees' addresses.  I had been
using an aliases file for my personal address book, but as the file has
grown, it's become less convenient to give everyone an alias, so I'll
probably switch to a file in m_inmail format.

> With
>   set query_command="lbdbq %s"    # calling lbdbq
>   macro alias Q "!lbdbq ."        "lbdb query"

How do you use your "Q" macro?  I tried "!lbdb ." from the alias menu
and couldn't figure out what to do with the result, short of copying and
pasting a line.  It would seem more useful to do an address query
directly instead of going to the alias menu first.

> in your muttrc and the following recipe on top of your procmailrc,
>   :0hc
>      | lbdb-fetchaddr
> 
> Very convenient when you don't recall the exact name.

I don't really want _everyone's_ address, so instead of a procmail
recipe I've been using the following macros:

    macro index A ":unset wait_key\n|lbdb-fetchaddr\n:set wait_key\n" "add address to 
lbdb database"
    macro pager A ":unset wait_key\n|lbdb-fetchaddr\n:set wait_key\n" "add address to 
lbdb database"

Gary

-- 
Gary Johnson                               | Agilent Technologies
[EMAIL PROTECTED]                   | Spokane, Washington, USA
http://www.spocom.com/users/gjohnson/mutt/ |

Reply via email to