Package: spamassassin / 4.0.1+svn1923525-1

10_change_config_paths Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
Index: spamassassin/INSTALL
===================================================================
--- spamassassin.orig/INSTALL
+++ spamassassin/INSTALL
@@ -408,7 +408,7 @@ is too low for them to be used.
     interpreter.  Version 2.83 or later fixes this.
 
     If you do not plan to use this plugin, be sure to comment out its
-    loadplugin line in "/etc/mail/spamassassin/v310.pre".
+    loadplugin line in "/etc/spamassassin/v310.pre".
 
   - Digest::SHA1 (from CPAN)
 
Index: spamassassin/README
===================================================================
--- spamassassin.orig/README
+++ spamassassin/README
@@ -114,13 +114,13 @@ default locations that Apache SpamAssass
         not modify these, as they are overwritten when you run
         "sa-update".
 
-  - /etc/mail/spamassassin/*.cf:
+  - /etc/spamassassin/*.cf:
 
   	Site config files, for system admins to create, modify, and
 	add local rules and scores to.  Modifications here will be
 	appended to the config loaded from the above directory.
 
-  - /etc/mail/spamassassin/*.pre:
+  - /etc/spamassassin/*.pre:
 
         Plugin control files, installed from the distribution. These are
         used to control what plugins are loaded.  Modifications here will
@@ -129,7 +129,7 @@ default locations that Apache SpamAssass
         
         You want to modify these files if you want to load additional
         plugins, or inhibit loading a plugin that is enabled by default.
-        If the files exist in /etc/mail/spamassassin, they will not
+        If the files exist in /etc/spamassassin, they will not
         be overwritten during future installs.
 
   - /usr/share/spamassassin/user_prefs.template:
@@ -137,14 +137,14 @@ default locations that Apache SpamAssass
 	Distributed default user preferences. Do not modify this, as it is
 	overwritten when you upgrade.
 
-  - /etc/mail/spamassassin/user_prefs.template:
+  - /etc/spamassassin/user_prefs.template:
 
 	Default user preferences, for system admins to create, modify, and
 	set defaults for users' preferences files.  Takes precedence over
 	the above prefs file, if it exists.
 
         Do not put system-wide settings in here; put them in a file in the
-        "/etc/mail/spamassassin" directory ending in ".cf". This file is
+        "/etc/spamassassin" directory ending in ".cf". This file is
         just a template, which will be copied to a user's home directory
         for them to change.
 
Index: spamassassin/USAGE
===================================================================
--- spamassassin.orig/USAGE
+++ spamassassin/USAGE
@@ -120,14 +120,14 @@ Other Installation Notes
 
 
   - You can create your own system-wide rules files in
-    /etc/mail/spamassassin; their filenames should end in ".cf".  Multiple
+    /etc/spamassassin; their filenames should end in ".cf".  Multiple
     files will be read, and SpamAssassin will not overwrite these files
     when installing a new version.
 
 
   - You should not modify the files in /usr/share/spamassassin; these
     will be overwritten when you upgrade.  Any changes you make in
-    files in the /etc/mail/spamassassin directory,  however, will
+    files in the /etc/spamassassin directory,  however, will
     override these files.
 
 
Index: spamassassin/ldap/README
===================================================================
--- spamassassin.orig/ldap/README
+++ spamassassin/ldap/README
@@ -13,7 +13,7 @@ therefore, the only way to have their ow
 database or LDAP server.
 
 SpamAssassin will check the global configuration file (ie. any file matching
-/etc/mail/spamassassin/*.cf) for the following settings:
+/etc/spamassassin/*.cf) for the following settings:
 
   user_scores_dsn ldap://host:port/dc=basedn,dc=de?attr?scope?uid=__USERNAME__
   user_scores_ldap_username	bind dn
Index: spamassassin/lib/Mail/SpamAssassin/Conf.pm
===================================================================
--- spamassassin.orig/lib/Mail/SpamAssassin/Conf.pm
+++ spamassassin/lib/Mail/SpamAssassin/Conf.pm
@@ -40,7 +40,7 @@ Mail::SpamAssassin::Conf - SpamAssassin
 =head1 DESCRIPTION
 
 SpamAssassin is configured using traditional UNIX-style configuration files,
-loaded from the C</usr/share/spamassassin> and C</etc/mail/spamassassin>
+loaded from the C</usr/share/spamassassin> and C</etc/spamassassin>
 directories.
 
 The following web page lists the most important configuration settings
@@ -2846,7 +2846,7 @@ If this option is set to 1 and the messa
 
 These settings differ from the ones above, in that they are considered
 'privileged'.  Only users running C<spamassassin> from their procmailrc's or
-forward files, or sysadmins editing a file in C</etc/mail/spamassassin>, can
+forward files, or sysadmins editing a file in C</etc/spamassassin>, can
 use them.   C<spamd> users cannot use them in their C<user_prefs> files, for
 security and efficiency reasons, unless C<allow_user_rules> is enabled (and
 then, they may only add rules from below).
Index: spamassassin/lib/Mail/SpamAssassin/Plugin/Test.pm
===================================================================
--- spamassassin.orig/lib/Mail/SpamAssassin/Plugin/Test.pm
+++ spamassassin/lib/Mail/SpamAssassin/Plugin/Test.pm
@@ -27,7 +27,7 @@ Test - test plugin
 =head1 DESCRIPTION
 
 To try this plugin, write the above two lines in the synopsis to
-C</etc/mail/spamassassin/plugintest.cf>.
+C</etc/spamassassin/plugintest.cf>.
 
 =cut
 
Index: spamassassin/lib/spamassassin-run.pod
===================================================================
--- spamassassin.orig/lib/spamassassin-run.pod
+++ spamassassin/lib/spamassassin-run.pod
@@ -41,7 +41,7 @@ Options:
  -p prefs, --prefspath=file, --prefs-file=file
                                    Set user preferences file
  --siteconfigpath=path             Path for site configs
-                                   (def: /etc/mail/spamassassin)
+                                   (def: /etc/spamassassin)
  --cf='config line'                Additional line of configuration
  --pre='config line'               Additional line of ".pre" (prepended to configuration)
  -x, --nocreate-prefs              Don't create user preferences file
@@ -269,7 +269,7 @@ Ignore the default directories (usually
 =item B<--siteconfigpath>=I<path>
 
 Use the specified path for locating site-specific configuration files.  Ignore
-the default directories (usually C</etc/mail/spamassassin> or similar).
+the default directories (usually C</etc/spamassassin> or similar).
 
 =item B<--cf='config line'>
 
Index: spamassassin/sa-compile.raw
===================================================================
--- spamassassin.orig/sa-compile.raw
+++ spamassassin/sa-compile.raw
@@ -679,7 +679,7 @@ Options:
   -p prefs, --prefspath=file, --prefs-file=file
                                 Set user preferences file
   --siteconfigpath=path         Path for site configs
-                                (default: @@PREFIX@@/etc/mail/spamassassin)
+                                (default: @@PREFIX@@/etc/spamassassin)
   --updatedir=path              Directory to place updates
           (default: @@LOCAL_STATE_DIR@@/compiled/<perlversion>/@@VERSION@@)
   --cf='config line'            Additional line of configuration
@@ -744,7 +744,7 @@ Ignore the default directories (usually
 =item B<--siteconfigpath>=I<path>
 
 Use the specified path for locating site-specific configuration files.  Ignore
-the default directories (usually C</etc/mail/spamassassin> or similar).
+the default directories (usually C</etc/spamassassin> or similar).
 
 =item B<--updatedir>
 
Index: spamassassin/sa-learn.raw
===================================================================
--- spamassassin.orig/sa-learn.raw
+++ spamassassin/sa-learn.raw
@@ -825,7 +825,7 @@ Ignore the default directories (usually
 =item B<--siteconfigpath>=I<path>
 
 Use the specified path for locating site-specific configuration files.  Ignore
-the default directories (usually C</etc/mail/spamassassin> or similar).
+the default directories (usually C</etc/spamassassin> or similar).
 
 =item B<--cf='config line'>
 
Index: spamassassin/spamc/spamc.pod
===================================================================
--- spamassassin.orig/spamc/spamc.pod
+++ spamassassin/spamc/spamc.pod
@@ -310,8 +310,8 @@ any settings in the configuration file.
 
 If the B<-F> switch is specified, that file will be used.  Otherwise,
 C<spamc> will attempt to load spamc.conf in C<SYSCONFDIR> (default:
-/etc/mail/spamassassin). If that file doesn't exist, and the B<-F>
-switch is not specified, no configuration file will be read.
+/etc/spamassassin). If that file doesn't exist, and the B<-F> switch
+is not specified, no configuration file will be read.
 
 Example:
 
Index: spamassassin/spamd/README
===================================================================
--- spamassassin.orig/spamd/README
+++ spamassassin/spamd/README
@@ -105,7 +105,7 @@ The Bayesian Classifier
 If you plan to use Bayesian classification (the BAYES rules) with spamd,
 you will need to either
 
-  1. modify /etc/mail/spamassassin/local.cf to use a shared database of
+  1. modify /etc/spamassassin/local.cf to use a shared database of
   tokens, by setting the 'bayes_path' setting to a path all users can read
   and write to.  You will also need to set the 'bayes_file_mode' setting
   to 0666 so that created files are shared, too.
Index: spamassassin/spamd/README.vpopmail
===================================================================
--- spamassassin.orig/spamd/README.vpopmail
+++ spamassassin/spamd/README.vpopmail
@@ -43,7 +43,7 @@ then their user_prefs would be stored in
 	/home/vpopmail/domains/somedomain.net/4/userid/.spamassassin/user_prefs
 
 5. One gotcha - cannot have personal AWL dbs - only a sitewide AWL will work.
-This is specified in your /etc/mail/spamassassin/local.cf file.  Perhaps a
+This is specified in your /etc/spamassassin/local.cf file.  Perhaps a
 future enhancement would be to add the capability to have personal AWL db.
 
 6. Of course vpopmail must have the seekable patch installed (see 
Index: spamassassin/spamd/spamd.raw
===================================================================
--- spamassassin.orig/spamd/spamd.raw
+++ spamassassin/spamd/spamd.raw
@@ -3453,7 +3453,7 @@ Ignore the default directories (usually
 =item B<--siteconfigpath>=I<path>
 
 Use the specified path for locating site-specific configuration files.  Ignore
-the default directories (usually C</etc/mail/spamassassin> or similar).
+the default directories (usually C</etc/spamassassin> or similar).
 
 =item B<--cf='config line'>
 
Index: spamassassin/sql/README
===================================================================
--- spamassassin.orig/sql/README
+++ spamassassin/sql/README
@@ -18,7 +18,7 @@ In addition, any config options marked a
 SQL preferences.
 
 SpamAssassin will check the global configuration file (ie. any file matching
-/etc/mail/spamassassin/*.cf) for the following settings:
+/etc/spamassassin/*.cf) for the following settings:
 
   user_scores_dsn		DBI:driver:connection
   user_scores_sql_username	dbusername
Index: spamassassin/sql/README.awl
===================================================================
--- spamassassin.orig/sql/README.awl
+++ spamassassin/sql/README.awl
@@ -15,7 +15,7 @@ so:
 auto_welcomelist_factory Mail::SpamAssassin::SQLBasedAddrList
 
 SpamAssassin will check the global configuration file (ie. any file
-matching /etc/mail/spamassassin/*.cf) for the following settings:
+matching /etc/spamassassin/*.cf) for the following settings:
 
 user_awl_dsn                 DBI:driver:database:hostname[:port]
 user_awl_sql_username        dbusername
Index: spamassassin/t/data/testplugin.pm
===================================================================
--- spamassassin.orig/t/data/testplugin.pm
+++ spamassassin/t/data/testplugin.pm
@@ -1,6 +1,6 @@
 =head1 testplugin.pm
 
-To try this out, write these lines to /etc/mail/spamassassin/plugintest.cf:
+To try this out, write these lines to /etc/spamassassin/plugintest.cf:
 
   loadplugin     myTestPlugin
   header         MY_TEST_PLUGIN eval:check_test_plugin()
Index: spamassassin/rules/init.pre
===================================================================
--- spamassassin.orig/rules/init.pre
+++ spamassassin/rules/init.pre
@@ -8,7 +8,7 @@
 # already have a file in place called "init.pre".
 #
 # There are now multiple files read to enable plugins in the 
-# /etc/mail/spamassassin directory; previously only one, "init.pre" was 
+# /etc/spamassassin directory; previously only one, "init.pre" was 
 # read.  Now both "init.pre", "v310.pre", and any other files ending in
 # ".pre" will be read.  As future releases are made, new plugins will be
 # added to new files, named according to the release they're added in.
Index: spamassassin/rules/v310.pre
===================================================================
--- spamassassin.orig/rules/v310.pre
+++ spamassassin/rules/v310.pre
@@ -10,7 +10,7 @@
 # if you so wish.
 #
 # There are now multiple files read to enable plugins in the
-# /etc/mail/spamassassin directory; previously only one, "init.pre" was
+# /etc/spamassassin directory; previously only one, "init.pre" was
 # read.  Now both "init.pre", "v310.pre", and any other files ending in
 # ".pre" will be read.  As future releases are made, new plugins will be
 # added to new files, named according to the release they're added in.
Index: spamassassin/rules/v312.pre
===================================================================
--- spamassassin.orig/rules/v312.pre
+++ spamassassin/rules/v312.pre
@@ -10,7 +10,7 @@
 # if you so wish.
 #
 # There are now multiple files read to enable plugins in the
-# /etc/mail/spamassassin directory; previously only one, "init.pre" was
+# /etc/spamassassin directory; previously only one, "init.pre" was
 # read.  Now both "init.pre", "v310.pre", and any other files ending in
 # ".pre" will be read.  As future releases are made, new plugins will be
 # added to new files, named according to the release they're added in.
Index: spamassassin/rules/v320.pre
===================================================================
--- spamassassin.orig/rules/v320.pre
+++ spamassassin/rules/v320.pre
@@ -10,7 +10,7 @@
 # if you so wish.
 #
 # There are now multiple files read to enable plugins in the
-# /etc/mail/spamassassin directory; previously only one, "init.pre" was
+# /etc/spamassassin directory; previously only one, "init.pre" was
 # read.  Now both "init.pre", "v310.pre", and any other files ending in
 # ".pre" will be read.  As future releases are made, new plugins will be
 # added to new files, named according to the release they're added in.
Index: spamassassin/rules/v330.pre
===================================================================
--- spamassassin.orig/rules/v330.pre
+++ spamassassin/rules/v330.pre
@@ -10,7 +10,7 @@
 # if you so wish.
 #
 # There are now multiple files read to enable plugins in the
-# /etc/mail/spamassassin directory; previously only one, "init.pre" was
+# /etc/spamassassin directory; previously only one, "init.pre" was
 # read.  Now both "init.pre", "v310.pre", and any other files ending in
 # ".pre" will be read.  As future releases are made, new plugins will be
 # added to new files, named according to the release they're added in.
Index: spamassassin/rules/v340.pre
===================================================================
--- spamassassin.orig/rules/v340.pre
+++ spamassassin/rules/v340.pre
@@ -10,7 +10,7 @@
 # if you so wish.
 #
 # There are now multiple files read to enable plugins in the
-# /etc/mail/spamassassin directory; previously only one, "init.pre" was
+# /etc/spamassassin directory; previously only one, "init.pre" was
 # read.  Now both "init.pre", "v310.pre", and any other files ending in
 # ".pre" will be read.  As future releases are made, new plugins will be
 # added to new files, named according to the release they're added in.
Index: spamassassin/rules/v341.pre
===================================================================
--- spamassassin.orig/rules/v341.pre
+++ spamassassin/rules/v341.pre
@@ -10,7 +10,7 @@
 # if you so wish.
 #
 # There are now multiple files read to enable plugins in the
-# /etc/mail/spamassassin directory; previously only one, "init.pre" was
+# /etc/spamassassin directory; previously only one, "init.pre" was
 # read.  Now both "init.pre", "v310.pre", and any other files ending in
 # ".pre" will be read.  As future releases are made, new plugins will be
 # added to new files, named according to the release they're added in.
Index: spamassassin/rules/v342.pre
===================================================================
--- spamassassin.orig/rules/v342.pre
+++ spamassassin/rules/v342.pre
@@ -10,7 +10,7 @@
 # if you so wish.
 #
 # There are now multiple files read to enable plugins in the
-# /etc/mail/spamassassin directory; previously only one, "init.pre" was
+# /etc/spamassassin directory; previously only one, "init.pre" was
 # read.  Now both "init.pre", "v310.pre", and any other files ending in
 # ".pre" will be read.  As future releases are made, new plugins will be
 # added to new files, named according to the release they're added in.
Index: spamassassin/rules/v343.pre
===================================================================
--- spamassassin.orig/rules/v343.pre
+++ spamassassin/rules/v343.pre
@@ -10,7 +10,7 @@
 # if you so wish.
 #
 # There are now multiple files read to enable plugins in the
-# /etc/mail/spamassassin directory; previously only one, "init.pre" was
+# /etc/spamassassin directory; previously only one, "init.pre" was
 # read.  Now both "init.pre", "v310.pre", and any other files ending in
 # ".pre" will be read.  As future releases are made, new plugins will be
 # added to new files, named according to the release they're added in.
Index: spamassassin/rules/v400.pre
===================================================================
--- spamassassin.orig/rules/v400.pre
+++ spamassassin/rules/v400.pre
@@ -10,7 +10,7 @@
 # if you so wish.
 #
 # There are now multiple files read to enable plugins in the
-# /etc/mail/spamassassin directory; previously only one, "init.pre" was
+# /etc/spamassassin directory; previously only one, "init.pre" was
 # read.  Now both "init.pre", "v310.pre", and any other files ending in
 # ".pre" will be read.  As future releases are made, new plugins will be
 # added to new files, named according to the release they're added in.
Index: spamassassin/lib/Mail/SpamAssassin/Plugin/Phishing.pm
===================================================================
--- spamassassin.orig/lib/Mail/SpamAssassin/Plugin/Phishing.pm
+++ spamassassin/lib/Mail/SpamAssassin/Plugin/Phishing.pm
@@ -29,10 +29,10 @@ Mail::SpamAssassin::Plugin::Phishing - c
   loadplugin Mail::SpamAssassin::Plugin::Phishing
 
   ifplugin Mail::SpamAssassin::Plugin::Phishing
-    phishing_openphish_feed /etc/mail/spamassassin/openphish-feed.txt
-    phishing_phishtank_feed /etc/mail/spamassassin/phishtank-feed.csv
-    phishing_phishstats_feed /etc/mail/spamassassin/phishstats-feed.csv
-    phishing_phishing_database_feed /etc/mail/spamassassin/phishing-database-feed.csv
+    phishing_openphish_feed /etc/spamassassin/openphish-feed.txt
+    phishing_phishtank_feed /etc/spamassassin/phishtank-feed.csv
+    phishing_phishstats_feed /etc/spamassassin/phishstats-feed.csv
+    phishing_phishing_database_feed /etc/spamassassin/phishing-database-feed.csv
     body     URI_PHISHING      eval:check_phishing()
     describe URI_PHISHING      Url match phishing in feed
   endif