Sorry for this misunderstanding, but I meant: Can I use score tables for spam_checks, something like this ?
------+-----------------+-----------+------------------------------------ +----------------------+ | id | address | rule | score | +----+-------------------------------+----------------------------------- +---------------------+ | 1 | [email protected] | FSL_RU_URL | 1 2 2 2 | +----+-------------------------------+----------------------------------- +---------------------+ | | | | | | 2 | [email protected] <[email protected]> | OCR_WRONG_CTYPE | 1 1.5 1.2 2 | +----+-------------------------------+-----------------------------------+--------------------- + And if I understood you correctly, I can force SA to use any set of parameters, with sql_select_policy, ( for example enable\disable rbl checks) with just changing select policy from this: sql_select_policy = "SELECT id, NULL as spam_tag_level, spam_tag2_level, ". " spam_kill_level, spam_kill_level as spam_dsn_cutoff_level, ". " spam_modifies_subj, spam_subject_tag as spam_subject_tag2, ". " 'Y' as local ". " from amavis ". " where address IN (%k)"; to this: sql_select_policy = "SELECT id, NULL as spam_tag_level, spam_tag2_level, ". " spam_kill_level, spam_kill_level as spam_dsn_cutoff_level, ". " spam_modifies_subj, spam_subject_tag as spam_subject_tag2, SKIP_RBL_CHECKS,SCORE_SET". " 'Y' as local ". " from amavis ". " where address IN (%k)"; 2011/3/14 Sergey Levchenko <[email protected]> > Hi list, can Amavis use MySQL-based score-tables for SpamAssassin and how > to do this ? >
