Hello List, i would like to set my required score dynamically.
Right now, my /etc/mimedefang-filter calls: my($hits, $req, $names, $report) = spam_assassin_check(); sub spam_assassin_check (;$) { my($status) = spam_assassin_status(@_); return undef if (!defined($status)); my $hits = $status->get_hits; my $req = $status->get_required_hits(); my $tests = $status->get_names_of_tests_hit(); my $report = $status->get_report(); $status->finish(); return ($hits, $req, $tests, $report); } However, i can find no way to set the required score spam_assassin_check should use (e.g. for its report) I read that i can overwrite the config with spam_assassin_check(configfile) (whatever configfile is...) but i cant find it anymore. Or is there maybe a simple way of setting my required score? Cheers, Mario