On Thu, 2012-07-12 at 03:20 -0400, David F. Skoll wrote: > On Thu, 12 Jul 2012 09:08:19 +0200 > "Andrzej A. Filip" <andrzej.fi...@gmail.com> wrote: > > > Would you suggest/recommend using spf-bayes? > > [auto-learning of "worth" of given domain SPF record] > > That is an interesting idea... store tokens like: > > example.com*spf-pass > > and compute probabilities. > There's maybe a case collecting stats in a simple table with rows keyed on domain name and simply accumulating counts for the four levels (PASS, NEUTRAL SOFTFAIL and FAIL) of both SPF-* and SPF-HELO-* sets along with spam/ham counts and seeing what patterns emerge. Since nobody seems to know how widespread SPF usage is, it might also be interesting to count domains with no SPF flags set. Anything could be used for this: BDB, SQLite or Derby should all do the job with minimal overheads.
Martin