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 | ||
10 | $philter = new Philter(); | |
11 | ||
5ae3e923 PH |
12 | /********** LOCALE **********/ |
13 | ||
14 | require("locales/philter.en.inc.php"); | |
15 | ||
dd8de1ec PH |
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 | ||
ee524d70 | 34 | $philter->register_plugin(new HdrPlugin(false)); |
e20c62c3 | 35 | $philter->register_plugin(new CustHdrPlugin(false)); |
ee524d70 | 36 | |
dd8de1ec PH |
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 | ?> |