header match plugin
[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']['procmail'] = "/usr/bin/procmail";
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
36 $philter->register_plugin(new FwdPlugin());
37 $philter->register_plugin(new AutoReplyPlugin());
38
39 /********************************************************************************
40 * $Id$
41 * vim: set expandtab shiftwidth=4 tabstop=4 softtabstop=4 textwidth=100:
42 ********************************************************************************/
43 ?>