3 * Message and Spam Filter Plugin - Setup script
6 * @copyright (c) 1999-2005 The SquirrelMail Project Team
7 * @license http://opensource.org/licenses/gpl-license.php GNU Public License
13 * Imap connection control
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
20 $UseSeparateImapConnection = false;
23 * User level spam filters control
25 * Set this to false if you do not want the user to be able to enable
27 * @global bool $AllowSpamFilters
29 $AllowSpamFilters = true;
32 * SpamFilters YourHop Setting
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
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
48 $SpamFilters_YourHop = ' ';
51 * Commercial Spam Filters Control
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
59 $SpamFilters_ShowCommercial = false;
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
71 $SpamFilters_DNScache=array();
74 * Path to bulkquery program
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
81 $SpamFilters_BulkQuery = '';
84 * Shared filtering cache control
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
90 * @global bool $SpamFilters_SharedCache
92 $SpamFilters_SharedCache = true;
97 * How long should DNS query results be cached for by default (in seconds)?
98 * @global integer $SpamFilters_CacheTTL
100 $SpamFilters_CacheTTL = 7200;