#
# NOTE: to add a new spam rule, you will have to add the entry to this 
#       file, and also add the checks to the appropriate place(s) in 
#       magic-local/spam_checks.c and/or magic-smtpd/spam_checks.c
#

# name:   the rule name (as in the database)
# type:   one of {boolean|string}
# points: number to add to score if this rule matches
#

#  name                         type       points
# ------                        ------      ------

# both magic-local and magic-smtpd

spam_check                      boolean     0
smtp_blocking                   boolean     0
valid_from_domain               boolean     1
virus_check                     boolean     0

# magic-local only

block_non_printable             boolean     1
use_spamassassin                boolean     1 
required_header_list            string      1
subject_whitelist               string      -999
subject_blacklist               string      1
header_from_whitelist           string      -999
header_from_blacklist           string      1

# magic-smtpd only 

all_global_rules                boolean     1
smtp_check                      boolean     1
delivery_check                  boolean     1
require_full_addr               boolean     1
block_mail_from_self            boolean     1
block_ip_in_addr                boolean     1
require_me_in_dest              boolean     1
valid_bounce                    boolean     1
require_helo                    boolean     1
valid_helo_domain               boolean     1
mail_from_strict_addr_parse     boolean     1
check_ip_reverse_dns            boolean     1
use_global_from_blacklist       boolean     1
use_global_from_whitelist       boolean     -999
from_blacklist                  string      1
from_whitelist                  string      -999
helo_blacklist                  string      1
helo_whitelist                  string      -999 
use_global_helo_blacklist       boolean     1
use_global_helo_whitelist       boolean     -999 
use_global_country_blacklist    boolean     1
use_global_country_whitelist    boolean     -999 
country_blacklist               string      1
country_whitelist               string      -999 
use_global_ip_blacklist         boolean     1
use_global_ip_whitelist         boolean     -999 
ip_blacklist                    string      1
ip_whitelist                    string      -999 


