Commit | Line | Data |
---|---|---|
dd8de1ec PH |
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 | ||
0a2dd13e | 10 | |
dd8de1ec PH |
11 | $philter = new Philter(); |
12 | ||
5ae3e923 PH |
13 | /********** LOCALE **********/ |
14 | ||
15 | require("locales/philter.en.inc.php"); | |
16 | ||
dd8de1ec PH |
17 | /********** DATABASE **********/ |
18 | ||
19 | $philter->config['db']['host'] = "localhost"; | |
20 | $philter->config['db']['name'] = "philter"; | |
21 | $philter->config['db']['user'] = "philter"; | |
22 | $philter->config['db']['pass'] = "philter"; | |
23 | ||
24 | $philter->pconnect(); | |
25 | ||
26 | /********** PATHS **********/ | |
27 | ||
28 | $philter->config['path']['procmail'] = "/usr/bin/procmail"; | |
29 | $philter->config['path']['spool'] = "/var/spool/philter"; | |
30 | ||
31 | /********** PLUGINS **********/ | |
32 | ||
33 | $philter->register_global_plugin(new BogoPlugin(true)); | |
34 | ||
ee524d70 | 35 | $philter->register_plugin(new HdrPlugin(false)); |
e20c62c3 | 36 | $philter->register_plugin(new CustHdrPlugin(false)); |
ee524d70 | 37 | |
dd8de1ec PH |
38 | $philter->register_plugin(new FwdPlugin()); |
39 | $philter->register_plugin(new AutoReplyPlugin()); | |
40 | ||
41 | /******************************************************************************** | |
42 | * $Id$ | |
43 | * vim: set expandtab shiftwidth=4 tabstop=4 softtabstop=4 textwidth=100: | |
44 | ********************************************************************************/ | |
45 | ?> |