lbdb and Mutt (was Re: Spam filters)

Replies:

  • None.

Parents:

On Mon, Dec 18, 2000, Gerald Oskoboiny wrote:
> That lbdb web page doesn't seem to say anything about what it
> does or why you would want to use it!?

The Little Brother's Database homepage[1] says it does more or less
what the Insidious Big Brother Database[2] does, i.e. builds a
collection of email addresses that you can then query.

> Anyway, I'm pretty sure I wouldn't want to use it for this.
> (why would I want to do queries inside Mutt?)

I have run all the email I received through lbdb yesterday and added a
procmail rule. Now I have a list of all the people who I received
emails from.

Suppose that I want to send an email to you, that I know that you are
Gerald something but I don't know your exact address, I can do a
query[3] inside Mutt and I get a list of all the Gerald's who ever
sent me email, and I pick your email address from there. No screwing
around with Mutt aliases anymore.

Moreover, I have imported an LDIF address book into abook[4], and I can
look things up in there with an lbdb query too.

My procmailrc now includes:

:0hc
| $HOME/lbdb/bin/lbdb-fetchaddr

and my muttrc now specifies:

set query_command="$HOME/lbdb/bin/lbdbq '%s'"

If I press 'Q' in the index or '^T' in an address field, I can run a
query. And I like it.

How does this relate to whitelist spam filtering? From this list of
emails that you got, you can get rid of the dupicates (not done for
efficiency reasons) and then have the same list you have. Of course,
you would have to run lbdb-fetchaddr manually and not from your
procmailrc, but I was looking for the query feature, not the filtering
one.

 1. http://www.spinnaker.de/lbdb/
 2. http://www.jwz.org/bbdb/
 3. http://www.mutt.org/doc/manual/manual-4.html#ss4.5
 4. http://abook.sourceforge.net/

--
Hugo Haas <[email protected]> - http://larve.net/people/hugo/
A vaincre sans p�ril, on �vite les ennuis.

HURL: fogo mailing list archives, maintained by Gerald Oskoboiny