Lines 1-6
Link Here
|
1 |
--- maia.conf.dist.orig 2022-04-25 16:08:35 UTC |
1 |
--- maia.conf.dist.orig 2022-03-02 01:05:20 UTC |
2 |
+++ maia.conf.dist |
2 |
+++ maia.conf.dist |
3 |
@@ -52,7 +52,7 @@ $local_cf_dir = undef; # default: let the script find |
3 |
@@ -1,7 +1,7 @@ |
|
|
4 |
################################################################### |
5 |
# Maia Mailguard Script Configuration File # |
6 |
# # |
7 |
-# This file (/etc/maia.conf) contains configuration information # |
8 |
+# This file (/usr/local/etc/maia/maia.conf) contains configuration information # |
9 |
# used by Maia Mailguard's Perl maintenance scripts. # |
10 |
################################################################### |
11 |
|
12 |
@@ -9,16 +9,16 @@ |
13 |
$dsn = 'DBI:mysql:maia:localhost:3306'; |
14 |
|
15 |
# Your Maia database user's login name |
16 |
-$username = 'maia'; |
17 |
+$username = 'vscan'; |
18 |
|
19 |
# Your Maia database user's password |
20 |
$password = 'password'; |
21 |
|
22 |
# The directory where Maia's Perl scripts can be found. |
23 |
-$script_dir = '/var/lib/maia/scripts'; |
24 |
+$script_dir = '/usr/local/share/maia/scripts'; |
25 |
|
26 |
# Location of your sa-learn script |
27 |
-$sa_learn = '/usr/bin/sa-learn'; |
28 |
+$sa_learn = '/usr/local/bin/sa-learn'; |
29 |
|
30 |
# Address rewriting type [0..5] (see config.php) |
31 |
$address_rewriting_type = 0; |
32 |
@@ -45,19 +45,19 @@ $preserve_case = 0; |
33 |
# The directory where SpamAssassin's local.cf file can be found. |
34 |
#$local_cf_dir = '/etc/mail/spamassassin'; |
35 |
#$local_cf_dir = '/etc/spamassassin'; |
36 |
-$local_cf_dir = undef; # default: let the script find it |
37 |
+$local_cf_dir = '/usr/local/etc/mail/spamassassin'; # default: let the script find it |
38 |
|
39 |
# The directory where SpamAssassin's core rules can be found. |
40 |
# If you wish to specify the directory yourself, you can use the |
4 |
# %%VERSION%% macro to replace the actual SpamAssassin version number. |
41 |
# %%VERSION%% macro to replace the actual SpamAssassin version number. |
5 |
#$system_rules_dir = '/usr/share/spamassassin'; |
42 |
#$system_rules_dir = '/usr/share/spamassassin'; |
6 |
#$system_rules_dir = '/var/lib/spamassassin/%%VERSION%%'; # sa-update |
43 |
#$system_rules_dir = '/var/lib/spamassassin/%%VERSION%%'; # sa-update |
Lines 8-11
Link Here
|
8 |
+$system_rules_dir = '/var/db/spamassassin'; # default: let the script find it |
45 |
+$system_rules_dir = '/var/db/spamassassin'; # default: let the script find it |
9 |
|
46 |
|
10 |
# The directory where your amavis user's user_prefs file can be found. |
47 |
# The directory where your amavis user's user_prefs file can be found. |
11 |
#$user_rules_dir = '/var/lib/maia/.spamassassin'; |
48 |
-#$user_rules_dir = '/var/lib/maia/.spamassassin'; |
|
|
49 |
+#$user_rules_dir = '/usr/local/share/maia/.spamassassin'; |
50 |
#$user_rules_dur = '~/.spamassassin'; |
51 |
-$user_rules_dir = undef; # default: let the script find it |
52 |
+$user_rules_dir = '/var/maiad/.spamassassin'; # default: let the script find it |
53 |
|
54 |
|
55 |
### process-quarantine.pl |
56 |
@@ -96,7 +96,7 @@ $log_dir = '/var/log/maia'; |
57 |
$workers = 10; |
58 |
|
59 |
# Location of your encryption key file, or undef to disable |
60 |
-#$key_file = '/var/lib/maia/blowfish.key'; |
61 |
+#$key_file = '/usr/local/share/maia/blowfish.key'; |
62 |
$key_file = undef; |
63 |
|
64 |
# Items larger than this size (in bytes) will not be learned/reported. |
65 |
@@ -156,7 +156,7 @@ $mail_types = 1 + 2 + 4 + 8 + 16; |
66 |
$base_url = 'http://example.com/'; |
67 |
|
68 |
# Template directory |
69 |
-$template_dir = '/etc/maia/templates/'; |
70 |
+$template_dir = '/usr/local/etc/maia/templates/'; |
71 |
|
72 |
# How you want the digest sorted (choose one per cache type) |
73 |
# (note: non spam/ham caches don't have score to sort by) |