madduck's git repository

Every one of the projects in this repository is available at the canonical URL git://git.madduck.net/madduck/pub/<projectpath> — see each project's metadata for the exact URL.

All patches and comments are welcome. Please squash your changes to logical commits before using git-format-patch and git-send-email to patches@git.madduck.net. If you'd read over the Git project's submission guidelines and adhered to them, I'd be especially grateful.

SSH access, as well as push access can be individually arranged.

If you use my repositories frequently, consider adding the following snippet to ~/.gitconfig and using the third clone URL listed for each project:

[url "git://git.madduck.net/madduck/"]
  insteadOf = madduck:

add ctte to justme exceptions
[etc/mailfilter.git] / spamassassin / user_prefs
1 # SpamAssassin user preferences file.  See 'perldoc Mail::SpamAssassin::Conf'
2 # for details of what can be tweaked.
3 ###########################################################################
4
5 # How many points before a mail is considered spam.
6 # required_score                5
7
8 # Whitelist and blacklist addresses are now file-glob-style patterns, so
9 # "friend@somewhere.com", "*@isp.com", or "*.domain.net" will all work.
10 # whitelist_from        someone@somewhere.com
11
12 # Add your own customised scores for some tests below.  The default scores are
13 # read from the installed spamassassin rules files, but you can override them
14 # here.  To see the list of tests and their default scores, go to
15 # http://spamassassin.apache.org/tests.html .
16 #
17 # score SYMBOLIC_TEST_NAME n.nn
18
19 # Speakers of Asian languages, like Chinese, Japanese and Korean, will almost
20 # definitely want to uncomment the following lines.  They will switch off some
21 # rules that detect 8-bit characters, which commonly trigger on mails using CJK
22 # character sets, or that assume a western-style charset is in use. 
23
24 # score HTML_COMMENT_8BITS      0
25 # score UPPERCASE_25_50         0
26 # score UPPERCASE_50_75         0
27 # score UPPERCASE_75_100        0
28 # score OBSCURED_EMAIL          0
29
30 # Speakers of any language that uses non-English, accented characters may wish
31 # to uncomment the following lines.   They turn off rules that fire on
32 # misformatted messages generated by common mail apps in contravention of the
33 # email RFCs.
34
35 # score SUBJ_ILLEGAL_CHARS      0
36
37 use_auto_whitelist 0
38
39 report_safe 0
40 report_safe_copy_headers X-CRM114-Status X-CRM114-Notice
41 report_safe_copy_headers X-Greylist
42
43 rewrite_header SUBJECT
44
45 #bayes_path ~/.var/spamassassin/bayes
46 bayes_auto_learn 0
47 bayes_ignore_header X-Original-To
48 bayes_ignore_header X-EqDomain
49 bayes_ignore_header X-EqTo
50 bayes_ignore_header X-Been-There
51 bayes_ignore_header X-Delivered-To
52 bayes_ignore_header X-Greylist
53 bayes_ignore_header X-Virus-Scanned
54 bayes_ignore_header X-Virus-Status
55 bayes_ignore_header X-CRM114-Status
56 bayes_ignore_header X-CRM114-CacheID
57 bayes_ignore_header X-CRM114-Notice
58 bayes_ignore_header X-CRM114-Version
59 bayes_ignore_header X-Spam-Relays-External 
60 bayes_ignore_header X-Spam-Relays-Internal
61 bayes_ignore_header X-Spam-Relays-Trusted
62 bayes_ignore_header X-Spam-Relays-Untrusted
63 bayes_ignore_header X-Spam-Status
64 bayes_ignore_header X-Spam-Bayes
65 bayes_ignore_header X-Spam-Level
66 bayes_ignore_header X-Spam
67 bayes_ignore_header X-Postponed
68 bayes_ignore_header X-Justme
69 bayes_ignore_header X-Tickle
70 bayes_ignore_header X-Delayed
71 bayes_ignore_header X-Resubmitted
72 bayes_ignore_header X-Trained-As
73 bayes_learn_to_journal 1
74 #bayes_ignore_from add@ress.com
75
76 add_header all Status _YESNO_, score=_SCORE_/_REQD_ tests=_TESTS_ autolearn=_AUTOLEARN_
77 add_header all Bayes score=_BAYES_ sum=_TOKENSUMMARY_ ham=_HAMMYTOKENS_ spam=_SPAMMYTOKENS_
78 add_header all Level _STARS(-)_
79 #add_header all Relays-Trusted _RELAYSTRUSTED_
80 add_header all Relays-Untrusted _RELAYSUNTRUSTED_
81 #add_header all Relays-Internal _RELAYSINTERNAL_
82 #add_header all Relays-External _RELAYSEXTERNAL_
83
84 # the local host
85 #trusted_networks 127.
86 # madduck.net
87 trusted_networks 213.203.238.82 193.242.105.96 193.242.105.183
88 # debian: gluck master murphy spohr rietz liszt powell
89 trusted_networks 192.25.206.10 70.103.162.29 70.103.162.31 192.25.206.33 140.211.166.43 82.195.75.100 87.106.64.223
90 # liszt.debian.org
91 #trusted_networks 2001:41b8:202:deb:213:21ff:fe20:1426
92 # debian: alioth
93 trusted_networks 217.196.43.134
94 # ifi: bela miraculix nicolai sergei
95 trusted_networks 130.60.156.10 130.60.156.214 130.60.155.10 130.60.155.11
96 # fortytwo
97 trusted_networks 193.138.215.60
98 # aerasec: all of MNET-AERASEC
99 trusted_networks 212.18.21.160/26
100 # swat: osprey.sccs, heron.sccs
101 trusted_networks 130.58.218.6 130.58.218.10
102 # skynet: calculon gir
103 trusted_networks 193.1.99.88 193.1.99.77
104 # ul: marshal4
105 trusted_networks 193.1.100.137
106 # vger.kernel.org
107 trusted_networks 209.132.176.167
108
109 whitelist_from *master@*.*.madduck.net
110 whitelist_from *master@*.madduck.net
111 whitelist_from *master@madduck.net
112 whitelist_from logcheck@*.*.madduck.net
113 whitelist_from logcheck@*.madduck.net
114 whitelist_from root@*.madduck.net
115 whitelist_from root@*.*.madduck.net
116 whitelist_from root@madduck.net
117 whitelist_to root@*.madduck.net
118 whitelist_to root@*.*.madduck.net
119 whitelist_from *-owner@lists.madduck.net
120 whitelist_to *-owner@lists.madduck.net
121
122 ok_locales en de
123 ok_languages en de
124
125 header MADDUCK_IN_REFERENCES References =~ /madduck\.net/
126 tflags MADDUCK_IN_REFERENCES nice
127 describe MADDUCK_IN_REFERENCES madduck.net appears in References header
128 score MADDUCK_IN_REFERENCES -100.0
129
130 # more obfuscated drugs
131 # see http://issues.apache.org/SpamAssassin/show_bug.cgi?id=4875
132 replace_tag WS ( [a-z] )
133 body __L_rp_drug_ws1 /(?!xanax)X<WS>A<WS>N<WS>A<WS>X/i
134 body __L_rp_drug_ws2 /(?!ambien)A<WS>M<WS>B<WS>I<WS>E<WS>N/i
135 body __L_rp_drug_ws3 /(?!viagra)V<WS>I<WS>A<WS>G<WS>R<WS>A/i
136 body __L_rp_drug_ws4 /(?!soma)S<WS>O<WS>M<WS>A/i
137 body __L_rp_drug_ws5 /(?!cialis)C<WS>I<WS>A<WS>L<WS>I<WS>S/i
138 body __L_rp_drug_ws6 /(?!valium)V<WS>A<WS>L<WS>I<WS>U<WS>M/i
139 body __L_rp_drug_ws7 /(?!meridia)M<WS>E<WS>R<WS>I<WS>D<WS>I<WS>A/i
140 replace_rules __L_rp_drug_ws1 __L_rp_drug_ws2 __L_rp_drug_ws3 __L_rp_drug_ws4 __L_rp_drug_ws5 __L_rp_drug_ws6 __L_rp_drug_ws7
141 meta L_drug_ws_obfu (__L_rp_drug_ws1 + __L_rp_drug_ws2 + __L_rp_drug_ws3 + __L_rp_drug_ws4 + __L_rp_drug_ws5 + __L_rp_drug_ws6 + __L_rp_drug_ws7) > 3
142 score L_drug_ws_obfu 3
143
144 # http://marc.info/?t=118544884300001&r=1&w=2
145 score BAYES_60 0.0001 0.0001 1.5 1.5
146 score BAYES_80 0.0001 0.0001 2.5 2.5
147 score BAYES_95 0.0001 0.0001 4.0 4.0
148 score BAYES_99 0.0001 0.0001 5.0 5.0
149
150 # VBounce
151 whitelist_bounce_relays clegg.madduck.net seamus.madduck.net