avec le bon chemin, ça ira mieux ;-)
[old-projects.git] / philter / philter / install.d / config.inc.php
1 <?php
2 /********************************************************************************
3 * install.d/config.inc.php : configuration of philter
4 * ------------------------
5 *
6 * This file is part of the philter distribution
7 * Copyright: See COPYING files that comes with this distribution
8 ********************************************************************************/
9
10 $philter = new Philter();
11
12 /********** LOCALE **********/
13
14 require("locales/philter.en.inc.php");
15
16 /********** DATABASE **********/
17
18 $philter->config['db']['host'] = "localhost";
19 $philter->config['db']['name'] = "philter";
20 $philter->config['db']['user'] = "philter";
21 $philter->config['db']['pass'] = "philter";
22
23 $philter->pconnect();
24
25 /********** PATHS **********/
26
27 $philter->config['path']['bogofilter'] = "/usr/bin/bogofilter -d /var/mail/.bogofilter";
28 $philter->config['path']['spool'] = "/var/spool/philter";
29
30 /********** PLUGINS **********/
31
32 $philter->register_global_plugin(new BogoPlugin(true));
33
34 $philter->register_plugin(new HdrPlugin(false));
35 $philter->register_plugin(new CustHdrPlugin(false));
36
37 $philter->register_plugin(new FwdPlugin());
38 $philter->register_plugin(new AutoReplyPlugin());
39
40 /********************************************************************************
41 * $Id$
42 * vim: set expandtab shiftwidth=4 tabstop=4 softtabstop=4 textwidth=100:
43 ********************************************************************************/
44 ?>