]>
Commit | Line | Data |
---|---|---|
b780ea8d SI |
1 | # SpamAssassin rules file: default DKIM whitelists |
2 | # | |
3 | # Please don't modify this file as your changes will be overwritten with | |
4 | # the next update. Use /etc/mail/spamassassin/local.cf instead. | |
5 | # See 'perldoc Mail::SpamAssassin::Conf' for details. | |
6 | # | |
7 | # <@LICENSE> | |
8 | # Licensed to the Apache Software Foundation (ASF) under one or more | |
9 | # contributor license agreements. See the NOTICE file distributed with | |
10 | # this work for additional information regarding copyright ownership. | |
11 | # The ASF licenses this file to you under the Apache License, Version 2.0 | |
12 | # (the "License"); you may not use this file except in compliance with | |
13 | # the License. You may obtain a copy of the License at: | |
14 | # | |
15 | # http://www.apache.org/licenses/LICENSE-2.0 | |
16 | # | |
17 | # Unless required by applicable law or agreed to in writing, software | |
18 | # distributed under the License is distributed on an "AS IS" BASIS, | |
19 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | |
20 | # See the License for the specific language governing permissions and | |
21 | # limitations under the License. | |
22 | # </@LICENSE> | |
23 | ||
24 | ########################################################################### | |
25 | # DKIM whitelist rules | |
26 | ||
31955ede SI |
27 | #For those wondering why there's not just an ifplugin in front of all of this, there's a big involving it |
28 | #in nested if statements | |
29 | if can(Mail::SpamAssassin::Conf::feature_blocklist_welcomelist) | |
30 | ifplugin Mail::SpamAssassin::Plugin::DKIM | |
31 | #bz7826 renames whitelist to welcomelist and blacklist to blocklist | |
32 | header USER_IN_DKIM_WELCOMELIST eval:check_for_dkim_welcomelist_from() | |
33 | describe USER_IN_DKIM_WELCOMELIST From: address is in the user's DKIM welcomelist | |
34 | tflags USER_IN_DKIM_WELCOMELIST nice noautolearn net userconf | |
35 | score USER_IN_DKIM_WELCOMELIST -100.000 | |
b780ea8d | 36 | |
31955ede SI |
37 | ifplugin Mail::SpamAssassin::Plugin::RaciallyCharged |
38 | meta USER_IN_DKIM_WHITELIST (USER_IN_DKIM_WELCOMELIST) | |
39 | describe USER_IN_DKIM_WHITELIST DEPRECATED: See USER_IN_DKIM_WELCOMELIST | |
40 | tflags USER_IN_DKIM_WHITELIST nice noautolearn net userconf | |
41 | score USER_IN_DKIM_WELCOMELIST -0.01 | |
42 | score USER_IN_DKIM_WHITELIST -100.000 | |
43 | endif | |
44 | endif | |
b780ea8d | 45 | |
31955ede SI |
46 | #might be a way to only have one instance of the below block, unsure if it's even necessary |
47 | reuse USER_IN_DKIM_WHITELSIT | |
48 | reuse USER_IN_DKIM_WELCOMELIST | |
49 | ||
50 | else | |
51 | ifplugin Mail::SpamAssassin::Plugin::DKIM | |
52 | header USER_IN_DKIM_WELCOMELIST eval:check_for_dkim_whitelist_from() | |
53 | describe USER_IN_DKIM_WELCOMELIST From: address is in the user's DKIM welcomelist | |
54 | tflags USER_IN_DKIM_WELCOMELIST nice noautolearn net userconf | |
55 | score USER_IN_DKIM_WELCOMELIST -0.01 | |
56 | ||
57 | meta USER_IN_DKIM_WHITELIST (USER_IN_DKIM_WELCOMELIST) | |
58 | describe USER_IN_DKIM_WHITELIST DEPRECATED: See USER_IN_DKIM_WELCOMELIST | |
59 | tflags USER_IN_DKIM_WHITELIST nice noautolearn net userconf | |
60 | score USER_IN_DKIM_WHITELIST -100.000 | |
61 | endif | |
62 | ||
63 | reuse USER_IN_DKIM_WHITELSIT | |
64 | reuse USER_IN_DKIM_WELCOMELIST | |
65 | ||
66 | endif | |
67 | ||
68 | ||
69 | if can(Mail::SpamAssassin::Conf::feature_blocklist_welcomelist) | |
70 | ifplugin Mail::SpamAssassin::Plugin::DKIM | |
71 | ||
72 | # The backwards compatibility for this rule will be after the else statement below | |
73 | header USER_IN_DEF_DKIM_WL eval:check_for_def_dkim_welcomelist_from() | |
74 | describe USER_IN_DEF_DKIM_WL From: address is in the default DKIM welcome-list | |
b780ea8d SI |
75 | tflags USER_IN_DEF_DKIM_WL nice noautolearn net |
76 | reuse USER_IN_DEF_DKIM_WL | |
77 | ||
31955ede | 78 | |
b780ea8d | 79 | ########################################################################### |
31955ede | 80 | # Default welcomelists. These should be e-mail addresses of authors (i.e. |
b780ea8d | 81 | # addresses in the From header field) which send mail that is often |
31955ede | 82 | # tagged (incorrectly) as spam. DKIM welcomelisting only applies to mail |
b780ea8d SI |
83 | # with a valid DKIM (or older DK) signature. An optional second parameter |
84 | # can specify a signing domain (the 'd' tag), if different from author's | |
85 | # domain. Please see Mail::SpamAssassin::Plugin::DKIM man page for details. | |
86 | # | |
87 | # Whitelist and blacklist addresses are file-glob-style patterns, so | |
88 | # "friend@somewhere.com", "*@isp.com", or "*.domain.net" will all work. | |
89 | ||
31955ede SI |
90 | def_welcomelist_from_dkim *@*.ebay.com ebay.com |
91 | def_welcomelist_from_dkim *@ebay.com | |
92 | def_welcomelist_from_dkim *@ebay.co.uk | |
93 | def_welcomelist_from_dkim *@*.ebay.co.uk | |
94 | def_welcomelist_from_dkim *@ebay.at | |
95 | def_welcomelist_from_dkim *@*.ebay.at | |
96 | def_welcomelist_from_dkim *@ebay.be | |
97 | def_welcomelist_from_dkim *@*.ebay.be | |
98 | def_welcomelist_from_dkim *@ebay.de | |
99 | def_welcomelist_from_dkim *@*.ebay.de | |
100 | def_welcomelist_from_dkim *@ebay.es | |
101 | def_welcomelist_from_dkim *@*.ebay.es | |
102 | def_welcomelist_from_dkim *@ebay.fr | |
103 | def_welcomelist_from_dkim *@*.ebay.fr | |
104 | def_welcomelist_from_dkim *@ebay.ie | |
105 | def_welcomelist_from_dkim *@*.ebay.ie | |
106 | def_welcomelist_from_dkim *@ebay.it | |
107 | def_welcomelist_from_dkim *@*.ebay.it | |
108 | def_welcomelist_from_dkim *@ebay.nl | |
109 | def_welcomelist_from_dkim *@*.ebay.nl | |
110 | def_welcomelist_from_dkim *@ebay.pt | |
111 | def_welcomelist_from_dkim *@*.ebay.pt | |
112 | def_welcomelist_from_dkim *@ebay.ca | |
113 | def_welcomelist_from_dkim *@*.ebay.ca | |
114 | ||
115 | def_welcomelist_from_dkim *@* paypal.com | |
116 | def_welcomelist_from_dkim *@paypal.com | |
117 | def_welcomelist_from_dkim *@*.paypal.com | |
118 | def_welcomelist_from_dkim *@paypal.co.uk | |
119 | def_welcomelist_from_dkim *@*.paypal.co.uk | |
120 | def_welcomelist_from_dkim *@paypal.at | |
121 | def_welcomelist_from_dkim *@*.paypal.at | |
122 | def_welcomelist_from_dkim *@paypal.be | |
123 | def_welcomelist_from_dkim *@*.paypal.be | |
124 | def_welcomelist_from_dkim *@paypal.de | |
125 | def_welcomelist_from_dkim *@*.paypal.de | |
126 | def_welcomelist_from_dkim *@paypal.es | |
127 | def_welcomelist_from_dkim *@*.paypal.es | |
128 | def_welcomelist_from_dkim *@paypal.fr | |
129 | def_welcomelist_from_dkim *@*.paypal.fr | |
130 | def_welcomelist_from_dkim *@paypal.ie | |
131 | def_welcomelist_from_dkim *@*.paypal.ie | |
132 | def_welcomelist_from_dkim *@paypal.it | |
133 | def_welcomelist_from_dkim *@*.paypal.it | |
134 | def_welcomelist_from_dkim *@paypal.nl | |
135 | def_welcomelist_from_dkim *@*.paypal.nl | |
136 | def_welcomelist_from_dkim *@paypal.pt | |
137 | def_welcomelist_from_dkim *@*.paypal.pt | |
138 | def_welcomelist_from_dkim *@paypal.ca | |
139 | def_welcomelist_from_dkim *@*.paypal.ca | |
140 | ||
141 | def_welcomelist_from_dkim *@cisco.com | |
142 | def_welcomelist_from_dkim *@lh.lufthansa.com | |
143 | def_welcomelist_from_dkim *@*.milesandmore.com | |
144 | def_welcomelist_from_dkim *@mail.hotels.com | |
145 | def_welcomelist_from_dkim *@email.hotels.com | |
146 | def_welcomelist_from_dkim *@alert.bankofamerica.com | |
147 | def_welcomelist_from_dkim *@ealerts.bankofamerica.com | |
148 | def_welcomelist_from_dkim *@cc.yahoo-inc.com yahoo-inc.com | |
149 | def_welcomelist_from_dkim *@cc.yahoo-inc.com | |
150 | def_welcomelist_from_dkim googlealerts-noreply@google.com | |
151 | def_welcomelist_from_dkim *@*.google.com | |
152 | ||
153 | def_welcomelist_from_dkim *@springer.delivery.net | |
154 | def_welcomelist_from_dkim *@sci.scientific-direct.net | |
155 | def_welcomelist_from_dkim *@strongmail.the-scientist.com | |
156 | def_welcomelist_from_dkim *@ealert.nature.com | |
157 | def_welcomelist_from_dkim *@gateways.nature.com | |
158 | def_welcomelist_from_dkim *@information.nature.com | |
159 | def_welcomelist_from_dkim *@newsdesk.world-nuclear-news.org | |
160 | def_welcomelist_from_dkim *@biocompare.com | |
161 | def_welcomelist_from_dkim *@dentalcompare.com | |
162 | def_welcomelist_from_dkim *@medcompare.com | |
163 | def_welcomelist_from_dkim *@itbusinessedge.com | |
164 | def_welcomelist_from_dkim *@nl.reuters.com | |
165 | def_welcomelist_from_dkim *@email.washingtonpost.com | |
166 | def_welcomelist_from_dkim *@washingtontimesmail.com | |
167 | def_welcomelist_from_dkim *@info-aaas.org | |
168 | def_welcomelist_from_dkim *@*.newsmax.com | |
169 | def_welcomelist_from_dkim *@zdnet.online.com | |
170 | def_welcomelist_from_dkim *@m-w.com | |
171 | ||
172 | def_welcomelist_from_dkim *@skype.net | |
173 | def_welcomelist_from_dkim *@*.skype.net | |
174 | def_welcomelist_from_dkim *@*.skype.net skype.net | |
175 | def_welcomelist_from_dkim *@*.skype.com | |
176 | def_welcomelist_from_dkim *@*.skype.com skype.com | |
177 | ||
178 | #consider also: | |
179 | # def_welcomelist_from_dkim *@avaaz.org | |
180 | # def_welcomelist_from_dkim *@techrepublic.online.com | |
181 | # def_welcomelist_from_dkim ezines@arcamax.com | |
182 | # def_welcomelist_from_dkim *@yousendit.com | |
183 | # def_welcomelist_from_dkim *@meetup.com | |
184 | # def_welcomelist_from_dkim *@astrology.com | |
185 | # def_welcomelist_from_dkim *@google.com | |
186 | # def_welcomelist_from_dkim *@amazon.com | |
187 | # def_welcomelist_from_dkim *@amazon.co.uk | |
188 | # def_welcomelist_from_dkim *@amazon.de | |
189 | # def_welcomelist_from_dkim *@amazon.fr | |
190 | ||
191 | def_welcomelist_from_dkim *@imdb.com amazonses.com | |
192 | def_welcomelist_from_dkim *@dhl.com | |
193 | def_welcomelist_from_dkim *@tumblr.com | |
194 | def_welcomelist_from_dkim *@fisglobal.com | |
195 | def_welcomelist_from_dkim *@*.msgfocus.com | |
196 | def_welcomelist_from_dkim *@boredpanda.com mailersend.com | |
197 | ||
198 | endif # Mail::SpamAssassin::Plugin::DKIM | |
199 | ||
200 | ||
201 | ||
202 | ||
203 | # | |
204 | # For older versions of SA, these old entries remain for SA before version 4.0 | |
205 | # | |
206 | ||
207 | else | |
208 | ifplugin Mail::SpamAssassin::Plugin::DKIM | |
209 | ||
210 | header USER_IN_DEF_DKIM_WL eval:check_for_def_dkim_whitelist_from() | |
211 | describe USER_IN_DEF_DKIM_WL From: address is in the default DKIM welcome-list | |
212 | tflags USER_IN_DEF_DKIM_WL nice noautolearn net | |
213 | reuse USER_IN_DEF_DKIM_WL | |
214 | ||
b780ea8d SI |
215 | def_whitelist_from_dkim *@*.ebay.com ebay.com |
216 | def_whitelist_from_dkim *@ebay.com | |
217 | def_whitelist_from_dkim *@ebay.co.uk | |
218 | def_whitelist_from_dkim *@*.ebay.co.uk | |
219 | def_whitelist_from_dkim *@ebay.at | |
220 | def_whitelist_from_dkim *@*.ebay.at | |
221 | def_whitelist_from_dkim *@ebay.be | |
222 | def_whitelist_from_dkim *@*.ebay.be | |
223 | def_whitelist_from_dkim *@ebay.de | |
224 | def_whitelist_from_dkim *@*.ebay.de | |
225 | def_whitelist_from_dkim *@ebay.es | |
226 | def_whitelist_from_dkim *@*.ebay.es | |
227 | def_whitelist_from_dkim *@ebay.fr | |
228 | def_whitelist_from_dkim *@*.ebay.fr | |
229 | def_whitelist_from_dkim *@ebay.ie | |
230 | def_whitelist_from_dkim *@*.ebay.ie | |
231 | def_whitelist_from_dkim *@ebay.it | |
232 | def_whitelist_from_dkim *@*.ebay.it | |
233 | def_whitelist_from_dkim *@ebay.nl | |
234 | def_whitelist_from_dkim *@*.ebay.nl | |
235 | def_whitelist_from_dkim *@ebay.pt | |
236 | def_whitelist_from_dkim *@*.ebay.pt | |
237 | def_whitelist_from_dkim *@ebay.ca | |
238 | def_whitelist_from_dkim *@*.ebay.ca | |
239 | ||
240 | def_whitelist_from_dkim *@* paypal.com | |
241 | def_whitelist_from_dkim *@paypal.com | |
242 | def_whitelist_from_dkim *@*.paypal.com | |
243 | def_whitelist_from_dkim *@paypal.co.uk | |
244 | def_whitelist_from_dkim *@*.paypal.co.uk | |
245 | def_whitelist_from_dkim *@paypal.at | |
246 | def_whitelist_from_dkim *@*.paypal.at | |
247 | def_whitelist_from_dkim *@paypal.be | |
248 | def_whitelist_from_dkim *@*.paypal.be | |
249 | def_whitelist_from_dkim *@paypal.de | |
250 | def_whitelist_from_dkim *@*.paypal.de | |
251 | def_whitelist_from_dkim *@paypal.es | |
252 | def_whitelist_from_dkim *@*.paypal.es | |
253 | def_whitelist_from_dkim *@paypal.fr | |
254 | def_whitelist_from_dkim *@*.paypal.fr | |
255 | def_whitelist_from_dkim *@paypal.ie | |
256 | def_whitelist_from_dkim *@*.paypal.ie | |
257 | def_whitelist_from_dkim *@paypal.it | |
258 | def_whitelist_from_dkim *@*.paypal.it | |
259 | def_whitelist_from_dkim *@paypal.nl | |
260 | def_whitelist_from_dkim *@*.paypal.nl | |
261 | def_whitelist_from_dkim *@paypal.pt | |
262 | def_whitelist_from_dkim *@*.paypal.pt | |
263 | def_whitelist_from_dkim *@paypal.ca | |
264 | def_whitelist_from_dkim *@*.paypal.ca | |
265 | ||
266 | def_whitelist_from_dkim *@cisco.com | |
267 | def_whitelist_from_dkim *@lh.lufthansa.com | |
268 | def_whitelist_from_dkim *@*.milesandmore.com | |
269 | def_whitelist_from_dkim *@mail.hotels.com | |
270 | def_whitelist_from_dkim *@email.hotels.com | |
271 | def_whitelist_from_dkim *@alert.bankofamerica.com | |
272 | def_whitelist_from_dkim *@ealerts.bankofamerica.com | |
273 | def_whitelist_from_dkim *@cc.yahoo-inc.com yahoo-inc.com | |
274 | def_whitelist_from_dkim *@cc.yahoo-inc.com | |
275 | def_whitelist_from_dkim googlealerts-noreply@google.com | |
276 | def_whitelist_from_dkim *@*.google.com | |
277 | ||
278 | def_whitelist_from_dkim *@springer.delivery.net | |
279 | def_whitelist_from_dkim *@sci.scientific-direct.net | |
280 | def_whitelist_from_dkim *@strongmail.the-scientist.com | |
281 | def_whitelist_from_dkim *@ealert.nature.com | |
282 | def_whitelist_from_dkim *@gateways.nature.com | |
283 | def_whitelist_from_dkim *@information.nature.com | |
284 | def_whitelist_from_dkim *@newsdesk.world-nuclear-news.org | |
285 | def_whitelist_from_dkim *@biocompare.com | |
286 | def_whitelist_from_dkim *@dentalcompare.com | |
287 | def_whitelist_from_dkim *@medcompare.com | |
288 | def_whitelist_from_dkim *@itbusinessedge.com | |
289 | def_whitelist_from_dkim *@nl.reuters.com | |
290 | def_whitelist_from_dkim *@email.washingtonpost.com | |
291 | def_whitelist_from_dkim *@washingtontimesmail.com | |
292 | def_whitelist_from_dkim *@info-aaas.org | |
293 | def_whitelist_from_dkim *@*.newsmax.com | |
294 | def_whitelist_from_dkim *@zdnet.online.com | |
295 | def_whitelist_from_dkim *@m-w.com | |
296 | ||
297 | def_whitelist_from_dkim *@skype.net | |
298 | def_whitelist_from_dkim *@*.skype.net | |
299 | def_whitelist_from_dkim *@*.skype.net skype.net | |
300 | def_whitelist_from_dkim *@*.skype.com | |
301 | def_whitelist_from_dkim *@*.skype.com skype.com | |
302 | ||
303 | #consider also: | |
304 | # def_whitelist_from_dkim *@avaaz.org | |
305 | # def_whitelist_from_dkim *@techrepublic.online.com | |
306 | # def_whitelist_from_dkim ezines@arcamax.com | |
307 | # def_whitelist_from_dkim *@yousendit.com | |
308 | # def_whitelist_from_dkim *@meetup.com | |
309 | # def_whitelist_from_dkim *@astrology.com | |
310 | # def_whitelist_from_dkim *@google.com | |
311 | # def_whitelist_from_dkim *@amazon.com | |
312 | # def_whitelist_from_dkim *@amazon.co.uk | |
313 | # def_whitelist_from_dkim *@amazon.de | |
314 | # def_whitelist_from_dkim *@amazon.fr | |
315 | ||
316 | def_whitelist_from_dkim *@imdb.com amazonses.com | |
317 | def_whitelist_from_dkim *@dhl.com | |
318 | def_whitelist_from_dkim *@tumblr.com | |
319 | def_whitelist_from_dkim *@fisglobal.com | |
320 | def_whitelist_from_dkim *@*.msgfocus.com | |
321 | def_whitelist_from_dkim *@boredpanda.com mailersend.com | |
322 | ||
323 | endif # Mail::SpamAssassin::Plugin::DKIM | |
31955ede SI |
324 | endif # if can(Mail::SpamAssassin::Conf::feature_blocklist_welcomelist) |
325 |