http://bugzilla.spamassassin.org/show_bug.cgi?id=3082





------- Additional Comments From [EMAIL PROTECTED]  2004-04-30 21:07 -------
Subject: Re:  auto-whitelist database needs expiry

> Is someone taking this and working on it?  If not I might try to
> tackle it.

It's yours if you want it.

I'm favoring option 2 from my original proposal:

   change the DB format to be:

   10.20|[EMAIL PROTECTED] => [encoded field]

   where [encoded field] contains awl-version,atime,count,total (perhaps
   last N message scores instead of count,total)

   pros: clean, fast, extensible
   cons: requires conversion or switch

(I dropped the 'ip=' from the key since it's not needed, especially if
you use split(/,/, $str, 2) and put the IP first.)

Allowing us to do versioning seems like a good idea.

Maybe something like this for [encoded field]:

  awl-version = one byte
  atime       = 4 bytes
  count       = 2 bytes
  total       = 3 bytes

with a /= 2 on both count and total if you get too close to the limit.





------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

Reply via email to