28d95f4831d9f2ed0eddf4286008b79b6d568b85
[squirrelmail.git] / plugins / filters / config_default.php
1 <?php
2 /**
3 * Message and Spam Filter Plugin - Setup script
4 *
5 * @version $Id$
6 * @copyright (c) 1999-2005 The SquirrelMail Project Team
7 * @license http://opensource.org/licenses/gpl-license.php GNU Public License
8 * @package plugins
9 * @subpackage filters
10 */
11
12 /**
13 * Imap connection control
14 *
15 * Set this to true if you have problems -- check the README file
16 * Note: This doesn't work all of the time (No idea why)
17 * Seems to be related to UW
18 * @global bool $UseSeparateImapConnection
19 */
20 $UseSeparateImapConnection = false;
21
22 /**
23 * User level spam filters control
24 *
25 * Set this to false if you do not want the user to be able to enable
26 * spam filters
27 * @global bool $AllowSpamFilters
28 */
29 $AllowSpamFilters = true;
30
31 /**
32 * SpamFilters YourHop Setting
33 *
34 * Set this to a string containing something unique to the line in the
35 * header you want me to find IPs to scan the databases with. For example,
36 * All the email coming IN from the internet to my site has a line in
37 * the header that looks like (all on one line):
38 * Received: [from usw-sf-list1.sourceforge.net (usw-sf-fw2.sourceforge.net
39 * [216.136.171.252]) by firewall.persistence.com (SYSADMIN-antispam
40 * 0.2) with
41 * Since this line indicates the FIRST hop the email takes into my network,
42 * I set my SpamFilters_YourHop to 'by firewall.persistence.com' but any
43 * case-sensitive string will do. You can set it to something found on
44 * every line in the header (like ' ') if you want to scan all IPs in
45 * the header (lots of false alarms here tho).
46 * @global string $SpamFilters_YourHop
47 */
48 $SpamFilters_YourHop = ' ';
49
50 /**
51 * Commercial Spam Filters Control
52 *
53 * Some of the SPAM filters are COMMERCIAL and require a fee. If your users
54 * select them and you're not allowed to use them, it will make SPAM filtering
55 * very slow. If you don't want them to even be offered to the users, you
56 * should set SpamFilters_ShowCommercial to false.
57 * @global bool $SpamFilters_ShowCommercial
58 */
59 $SpamFilters_ShowCommercial = false;
60
61 /**
62 * SpamFiltering Cache
63 *
64 * A cache of IPs we've already checked or are known bad boys or good boys
65 * ie. $SpamFilters_DNScache["210.54.220.18"] = true;
66 * would tell filters to not even bother doing the DNS queries for that
67 * IP and any email coming from it are SPAM - false would mean that any
68 * email coming from it would NOT be SPAM
69 * @global array $SpamFilters_DNScache
70 */
71 $SpamFilters_DNScache=array();
72
73 /**
74 * Path to bulkquery program
75 *
76 * Absolute path to the bulkquery program. Leave blank if you don't have
77 * bulkquery compiled, installed, and lwresd running. See the README file
78 * in the bulkquery directory for more information on using bulkquery.
79 * @global string $SpamFilters_BulkQuery
80 */
81 $SpamFilters_BulkQuery = '';
82
83 /**
84 * Shared filtering cache control
85 *
86 * Do you want to use a shared file for the DNS cache or a session variable?
87 * Using a shared file means that every user can benefit from any queries
88 * made by other users. The shared file is named "dnscache" and is in the
89 * data directory.
90 * @global bool $SpamFilters_SharedCache
91 */
92 $SpamFilters_SharedCache = true;
93
94 /**
95 * DNS query TTL
96 *
97 * How long should DNS query results be cached for by default (in seconds)?
98 * @global integer $SpamFilters_CacheTTL
99 */
100 $SpamFilters_CacheTTL = 7200;
101
102 ?>