You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@spamassassin.apache.org by Daniel Quinlan <qu...@pathname.com> on 2005/08/18 13:18:54 UTC

initial rules organization ideas

1. svn rename as much as possible

2. code-tied rules stay with main tree in current rules directory with
   the exception of 25_replace.cf which is really just another way to
   write body/header rules (basically, the static stuff that is tied to
   code does not move to the rules project)

   a. plugins:

      25_accessdb.cf
      25_antivirus.cf
      25_dcc.cf
      25_domainkeys.cf
      25_hashcash.cf
      25_pyzor.cf
      25_razor2.cf
      25_spf.cf
      25_textcat.cf
      25_uribl.cf
      60_awl.cf
      60_whitelist_subject.cf

   b. other standard code/evals:

      20_dnsbl_tests.cf
      20_html_tests.cf (rawbody ones can move to ROOT/rules/core/)
      20_net_tests.cf
      23_bayes.cf
      60_whitelist.cf

   c. miscellaneous stuff

      init.pre
      local.cf
      name-triplets.txt
      regression_tests.cf
      triplets.txt
      user_prefs.template
      v310.pre

3. spamware signature rules = 20_anti_ratware.cf
   
4. language-specific rules/descriptions:

   25_body_tests_es.cf -> ROOT/rules/lang/es/
   25_body_tests_pl.cf -> ROOT/rules/lang/pl/
   30_text_de.cf       -> ROOT/rules/lang/de/
   30_text_fr.cf       -> ROOT/rules/lang/fr/
   30_text_it.cf       -> ROOT/rules/lang/it/
   30_text_nl.cf       -> ROOT/rules/lang/nl/
   30_text_pl.cf       -> ROOT/rules/lang/pl/
   30_text_pt_br.cf    -> ROOT/rules/lang/pt_br/

5. type-specific rules move to ROOT/rules/core/ for now

   20_advance_fee.cf
   20_drugs.cf
   20_porn.cf 

6. and the rest to ROOT/rules/core/

   10_misc.cf
   20_anti_ratware.cf
   20_body_tests.cf
   20_compensate.cf
   20_fake_helo_tests.cf
   20_head_tests.cf
   20_meta_tests.cf
   20_phrases.cf
   20_ratware.cf
   20_uri_tests.cf
   25_replace.cf (odd case, but will change a lot)
   50_scores.cf
   60_whitelist_spf.cf

-- 
Daniel Quinlan
http://www.pathname.com/~quinlan/

Re: initial rules organization ideas

Posted by Robert Menschel <Ro...@Menschel.net>.
Hello Daniel,

Like your ideas.  A few comments:

Thursday, August 18, 2005, 4:18:54 AM, you wrote:

DQ> 3. spamware signature rules = 20_anti_ratware.cf
Why 20_anti_ratware.cf?  We don't do 20_anti_porn, or 20_anti_drugs,
or 20_anti_advance_fee.  I'd just leave this as 20_ratware (which is
already in existence, but will continue to be added to as ratware
signs are identified).  Am I missing something?
   
DQ> 5. type-specific rules move to ROOT/rules/core/ for now
DQ>    20_advance_fee.cf
DQ>    20_drugs.cf
DQ>    20_porn.cf 
DQ> 6. and the rest to ROOT/rules/core/
Why the separation of (5) and (6)?

Bob Menschel