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 | ||
12 | /********** DATABASE **********/ | |
13 | ||
14 | $philter->config['db']['host'] = "localhost"; | |
15 | $philter->config['db']['name'] = "philter"; | |
16 | $philter->config['db']['user'] = "philter"; | |
17 | $philter->config['db']['pass'] = "philter"; | |
18 | ||
19 | $philter->pconnect(); | |
20 | ||
21 | /********** PATHS **********/ | |
22 | ||
23 | $philter->config['path']['procmail'] = "/usr/bin/procmail"; | |
24 | $philter->config['path']['spool'] = "/var/spool/philter"; | |
25 | ||
26 | /********** PLUGINS **********/ | |
27 | ||
28 | $philter->register_global_plugin(new BogoPlugin(true)); | |
29 | ||
30 | $philter->register_plugin(new FwdPlugin()); | |
31 | $philter->register_plugin(new AutoReplyPlugin()); | |
32 | ||
33 | /******************************************************************************** | |
34 | * $Id$ | |
35 | * vim: set expandtab shiftwidth=4 tabstop=4 softtabstop=4 textwidth=100: | |
36 | ********************************************************************************/ | |
37 | ?> |