diff options
author | Johannes Berg <johannes@sipsolutions.net> | 2007-10-01 18:44:18 +0200 |
---|---|---|
committer | Johannes Berg <johannes@sipsolutions.net> | 2007-10-01 18:44:18 +0200 |
commit | 1487d4d5227568bbbfb1c12424b676037b3830fb (patch) | |
tree | 16a07040ccdcf55fce73d500bec77070860c1831 /NOTES | |
parent | 87a6e4456100893ff067c01a86160adbb83ac11e (diff) | |
download | dovecot-antispam-1487d4d5227568bbbfb1c12424b676037b3830fb.tar.gz dovecot-antispam-1487d4d5227568bbbfb1c12424b676037b3830fb.tar.xz dovecot-antispam-1487d4d5227568bbbfb1c12424b676037b3830fb.zip |
remove dict-backend from NOTES
Diffstat (limited to '')
-rw-r--r-- | NOTES | 19 |
1 files changed, 0 insertions, 19 deletions
@@ -3,25 +3,6 @@ This file contains just some notes/thoughts on various implementation issues for other backends or different things. -SQL-based logger for later training - - - use dovecot's dict API - - configuration: - antispam_dict_uri = ... - antispam_dict_username = ... - - backend implementation: - 1) dict_init(uri, username) - 2) dict_transaction_begin - 3) for each signature: - dict_atomic_inc(signature, comes_from_spam_folder ? 1 : -1) - 4) dict_transaction_commit - 5) dict_deinit - - later training implementation, to be atomic, needs to use transactions - to get a list of all values and delete them at the same time, or use a - temporary table that is copied from the original while the original is - emptied (again, atomically) - - Full-message availability Pristine retraining or SpamAssassin retraining might need the full message |