/[adm]/puppet/modules/spamassassin/templates/local.cf
ViewVC logotype

Contents of /puppet/modules/spamassassin/templates/local.cf

Parent Directory Parent Directory | Revision Log Revision Log


Revision 416 - (show annotations) (download)
Tue Nov 23 02:19:39 2010 UTC (13 years, 5 months ago) by misc
File size: 2506 byte(s)
add filter compilation as this can reduce the load on server
1 # This is the right place to customize your installation of SpamAssassin.
2 #
3 # See 'perldoc Mail::SpamAssassin::Conf' for details of what can be
4 # tweaked.
5 #
6 # Only a small subset of options are listed below
7 #
8 ###########################################################################
9
10 # Add *****SPAM***** to the Subject header of spam e-mails
11 #
12 # rewrite_header Subject *****SPAM*****
13
14
15 # Save spam messages as a message/rfc822 MIME attachment instead of
16 # modifying the original message (0: off, 2: use text/plain instead)
17 #
18 # report_safe 1
19
20
21 # Set which networks or hosts are considered 'trusted' by your mail
22 # server (i.e. not spammers)
23 #
24 # trusted_networks 212.17.35.
25
26
27 # Set file-locking method (flock is not safe over NFS, but is faster)
28 #
29 # lock_method flock
30
31
32 # Set the threshold at which a message is considered spam (default: 5.0)
33 #
34 # required_score 5.0
35
36
37 # Use Bayesian classifier (default: 1)
38 #
39 # use_bayes 1
40
41
42 # Bayesian classifier auto-learning (default: 1)
43 #
44 # bayes_auto_learn 1
45
46
47 # Set headers which may provide inappropriate cues to the Bayesian
48 # classifier
49 #
50 # bayes_ignore_header X-Bogosity
51 # bayes_ignore_header X-Spam-Flag
52 # bayes_ignore_header X-Spam-Status
53
54
55 # Some shortcircuiting, if the plugin is enabled
56 #
57 ifplugin Mail::SpamAssassin::Plugin::Shortcircuit
58 #
59 # default: strongly-whitelisted mails are *really* whitelisted now, if the
60 # shortcircuiting plugin is active, causing early exit to save CPU load.
61 # Uncomment to turn this on
62 #
63 # shortcircuit USER_IN_WHITELIST on
64 # shortcircuit USER_IN_DEF_WHITELIST on
65 # shortcircuit USER_IN_ALL_SPAM_TO on
66 # shortcircuit SUBJECT_IN_WHITELIST on
67
68 # the opposite; blacklisted mails can also save CPU
69 #
70 # shortcircuit USER_IN_BLACKLIST on
71 # shortcircuit USER_IN_BLACKLIST_TO on
72 # shortcircuit SUBJECT_IN_BLACKLIST on
73
74 # if you have taken the time to correctly specify your "trusted_networks",
75 # this is another good way to save CPU
76 #
77 # shortcircuit ALL_TRUSTED on
78
79 # and a well-trained bayes DB can save running rules, too
80 #
81 # shortcircuit BAYES_99 spam
82 # shortcircuit BAYES_00 ham
83
84 endif # Mail::SpamAssassin::Plugin::Shortcircuit
85
86 required_hits 5
87 rewrite_header Subject [SPAM]
88 report_safe 0
89 ifplugin Mail::SpamAssassin::Plugin::AWL
90 auto_whitelist_path /var/spool/spamassassin/auto-whitelist
91 auto_whitelist_file_mode 0666
92 endif # Mail::SpamAssassin::Plugin::AWL
93
94 loadplugin Mail::SpamAssassin::Plugin::Rule2XSBody
95

  ViewVC Help
Powered by ViewVC 1.1.30