-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Thursday 08 January 2004 11:25, Steve Thomas wrote:
> 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.
> 
> 

When I starting looking into spamassassin I wish somebody pointed me to this 
page.  So here you go.

http://mywebpages.comcast.net/mkettler/sa/SA-rules-howto.txt

Douglas
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)

iD8DBQE//bMvSpWn8R0Z08URAo0dAKCMOJGeYzCuo5Ynp2AuSSEr4z+kKACeNIPp
6dkXnaNxC0cHSsbDu0z3F9E=
=N3OJ
-----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

Reply via email to