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.
In your /etc/mail/spamassassin/local.cf, add this at the bottom: header MY_CUSTOM_RULE Subject =~ /texttolookfor/i describe MY_CUSTOM_RULE My custom subject rule score MY_CUSTOM_RULE -500 You can change "MY_CUSTOM_RULE" to anything you want, as long as it's unique to the list of rule names. The "i" at the end of the first line indicates that the search should be case INsensitive. If you want capitalization to count, remove that "i". The score listed (-500) should overcome just about anything. You can adjust it if you see fit. Be sure to restart spamd (if you use it) after adding/changing things in your local.cf. HTH, St- -- "Success usually comes to those who are too busy to be looking for it" - Henry David Thoreau (1817-1862) ------------------------------------------------------- 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