]> Sergey Matveev's repositories - public-inbox.git/blob - sa_config/user/.spamassassin/user_prefs
70e129111f6db7962a5f8dce8ef4260b0cb231f7
[public-inbox.git] / sa_config / user / .spamassassin / user_prefs
1 # raise or lower as needed
2 required_score 3.0
3
4 # do not mess with the original message body, only notify in headers
5 clear_report_template
6 clear_unsafe_report_template
7 report_safe 0
8
9 # we do not use nor support this on NFS
10 lock_method flock
11
12 # do not throw off Bayes
13 bayes_ignore_header X-Bogosity
14 bayes_ignore_header X-Spam-Flag
15 bayes_ignore_header X-Spam-Status
16 bayes_ignore_header X-Spam-Report
17
18 # English-only for all lists on public-inbox.org
19 ok_locales en
20 # we have "loadplugin Mail::SpamAssassin::Plugin::TextCat" in a *.pre file
21 ok_languages en
22
23 # uncomment the following for importing archives:
24 # dns_available no
25 # skip_rbl_checks 1
26 # skip_uribl_checks 1
27
28 # manual rules (some stolen from debian)
29 # these require "allow_user_rules 1" in the system-wide config
30
31 rawbody  LOCAL_VIEWINBROWSER /View this message in a browser/
32 describe LOCAL_VIEWINBROWSER "HTML mail not welcome"
33 score    LOCAL_VIEWINBROWSER 2.8
34
35 body MEETUPSECURELY /meetupsecurely\.com/i
36 describe MEETUPSECURELY "site used by spammers"
37 score MEETUPSECURELY 2.8
38
39 body HELLOMYDEAR /hello my dear/i
40 describe HELLOMYDEAR "spam phrase"
41 score HELLOMYDEAR 2.8
42
43 body JUSTAMAILBOX /I'm just a mailbox used for sending notifications/
44 describe JUSTAMAILBOX "autoreply phrase"
45 score JUSTAMAILBOX 5.0
46
47 # no delivery
48 header PI_DNOT subject =~ /delivery\s+(?:status\s+)?notification/i
49 describe PI_DNOT "delivery notification"
50 score PI_DNOT 3
51
52 # notice to appear
53 header PI_DNOTICE subject =~ /notice to appear/i
54 describe PI_DNOTICE "notice to appear"
55 score PI_DNOTICE 3
56
57 full ZIPFILE            /\b(?:file)?name\=.*\.zip\b/i
58 describe ZIPFILE        zipfile attachment
59 score ZIPFILE           0.5
60
61 score BAYES_999 3
62 score BAYES_05 -1.5
63 score BAYES_00 -15
64
65 # trust paid whitelist services? never
66 score RCVD_IN_RP_SAFE 0.0
67 score RCVD_IN_RP_CERTIFIED 0.0