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. Bob Menschel ------------------------------------------------------- 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