-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Chris Santerre writes: > > -----Original Message----- > > From: Robert Menschel [mailto:[EMAIL PROTECTED] > > Sent: Thursday, January 08, 2004 10:40 PM > > To: Steve Thomas > > Cc: John Fleming; [EMAIL PROTECTED] > > Subject: Re[2]: [SAtalk] Simple newbie question > > > > > > Hello Steve, > > > > Thursday, January 8, 2004, 11:25:20 AM, you wrote: > > > > ST> On Thu, Jan 08, 2004 at 02:07:59PM -0500, John Fleming is > > rumored to have said: > > >> > > >> I want to specify a text string in the Subject header such > > that if it > > >> exists, the msg will NOT be considered spam, no matter > > what else might be > > >> wrong with it. > > > > ST> In your /etc/mail/spamassassin/local.cf, add this at the bottom: > > > > ST> header MY_CUSTOM_RULE Subject =~ /texttolookfor/i > > ST> describe MY_CUSTOM_RULE My custom subject rule > > ST> score MY_CUSTOM_RULE -500 > > > > In addition, you should add > > > tflags MY_CUSTOM_RULE nice learn > > > > The "nice" helps SA acknowledge that this rule is supposed to score > > negative. The only affect I've seen so far is within the > > hit-frequencies > > program, but there may be others. > > > > More importantly, the "learn" tells SA to ignore this score in > > determining whether to learn this email as spam or ham. Otherwise an > > email that is spam to everyone else will get learned as ham > > because of a > > large negative score. > > > > Does anyone else find the 'learn' counter-intuitive? Shouldn't it be > 'ignore'? Just my opinion. This isn't actually what "learn" is there for -- that's intended for rules that are output by learner systems like Bayes. 'userconf' is more appropriate: - rules with tflags set to 'userconf' (user white/black-listing rules, etc) We need to add another tflag with the same meaning that makes more sense, though -- "noautolearn" maybe. - --j. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.2 (GNU/Linux) Comment: Exmh CVS iD8DBQE//vtqQTcbUG5Y7woRAhc5AKCdazG1xguh5Cc3wZszkK76crqKRgCgimbb rIcY6T8vOV/jckE9/BrJPus= =aECT -----END PGP SIGNATURE----- ------------------------------------------------------- This SF.net email is sponsored by: Perforce Software. Perforce is the Fast Software Configuration Management System offering advanced branching capabilities and atomic changes on 50+ platforms. Free Eval! http://www.perforce.com/perforce/loadprog.html _______________________________________________ Spamassassin-talk mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/spamassassin-talk