Re: Spam filters

Replies:

Parents:

On Mon, Dec 18, 2000 at 08:03:26AM -0500, Hugo Haas wrote:
> On Mon, Dec 18, 2000, Gerald Oskoboiny wrote:
> > I've been getting a ton of spam lately (~36 messages per day this
> > December, out of a total of 384 messages per day), so I implemented
> > this whitelist-based filtering.
> [..]
>
> Did you have a look at lbdb[1]? It basically does this and more, such as
> queries inside Mutt.
>
>   1. http://www.spinnaker.de/lbdb/

No, my implementation is just simple standard formail/grep stuff.

That lbdb web page doesn't seem to say anything about what it
does or why you would want to use it!?

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

--
Gerald Oskoboiny <[email protected]>
http://impressive.net/people/gerald/

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!?

That is true that the Web page is not very explicit, but it is a set of
tools to:
- build a database of known email addresses (with lbdb-fetchaddr[1]).
- be able to access various lists of email addresses (from this
 particular database, a PGP keyring, Mutt aliases, Pine's addressbook,
 etc).

lbdb-fetchaddr is basically your atw, and m_inmail is your grep I think,
whose output format is compatible with Mutt.

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

If you want to send an email to somebody that you know but whose email
address is not in your Mutt aliases file, you can query the database you
built with lbdb-fetchaddr within Mutt. It is faster than digging into
your mail archives to find the exact email address.

I have been wanting to use that for quite a while now but haven't got
around to doing it yet.

 1. http://www.spinnaker.de/lbdb/lbdb-fetchaddr.html

--
Hugo Haas <[email protected]> - http://larve.net/people/hugo/
I would kill everyone in this room for a drop of sweet beer. -- Homer
J. Simpson

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