On fre 09 apr 2010 22:33:39 CEST, "Dennis B. Hopp" wrote

Is there a way to have the AWL rule only triggered if there is a minimum
number of messages seen by that sender?

if AWL helping spam, then you need to prevent forged senders more

in sa 3.2.5 set

ifplugin Mail::SpamAssassin::Plugin::AWL
    use_auto_whitelist 1
    # i changed it to be just 25% of what the
    # sender is known to be in score as bennefit, default is 0.5
    auto_whitelist_factor 0.25
    # for 331
    auto_whitelist_distinguish_signed 1
    # default 16
    auto_whitelist_ipv4_mask_len 24
    # auto_whitelist_ipv6_mask_len 48
endif # Mail::SpamAssassin::Plugin::AWL

to devs, would be nice to have a option to say minimal count 5 in awl table so awl will not hit for the first 4 hits

mysql modified here:


CREATE TABLE `awl` (
  `username` varchar(100) NOT NULL,
  `email` varchar(255) NOT NULL,
  `ip` varchar(40) NOT NULL,
  `count` int(11) NOT NULL default '0',
  `totscore` float NOT NULL default '0',
  `signedby` varchar(255) NOT NULL,
`lastupdate` timestamp NOT NULL default CURRENT_TIMESTAMP on update CURRENT_TIMESTAMP,
  PRIMARY KEY  (`username`,`email`,`signedby`,`ip`)
) ENGINE=MyISAM DEFAULT CHARSET=ascii;

this way i can expire the table, added lastupdate

by adding lastupdate to bayes_seen can olso expire it, as it is now we keep forever :(


--
xpoint http://www.unicom.com/pw/reply-to-harmful.html

Reply via email to