]>
Commit | Line | Data |
---|---|---|
6df4b805 | 1 | <?php |
7ef22e21 | 2 | /* vim: set ts=4 tw=4 sw=4 noet: */ |
01cc21cf | 3 | unset($CFG); |
6df4b805 MR |
4 | $CFG = new stdClass; |
5 | ||
6 | // Amavis | |
7 | $CFG->amavisd_db_host = "127.0.0.1"; | |
8 | $CFG->amavisd_db_port = 3306; | |
9 | $CFG->amavisd_db_name = "amavisd"; | |
10 | $CFG->amavisd_db_user = "amavisd"; | |
11 | $CFG->amavisd_db_password = "suFt3oEEmmXTjFq1bjTXRNIPXhF41a"; | |
12 | $CFG->amavis_policy_port = 9998; | |
13 | // LDAP | |
14 | $CFG->ldap_dsn = "ldap://127.0.0.1:389"; | |
15 | $CFG->ldap_base_dn = "o=domains,dc=datanom,dc=net"; | |
16 | ||
17 | $CFG->root = '/usr/share/quarantine-admin/'; | |
18 | $CFG->wwwroot = '/qtadmin/'; | |
19 | ||
20 | // HTTP_AUTH or LDAP | |
21 | $CFG->auth_method = 'LDAP'; | |
22 | // If HTTP_AUTH is chosen configure admin user here | |
23 | //$CFG->admin_user = 'some_admin'; | |
24 | ||
25 | $CFG->db_driver = 'mysqli'; | |
26 | $DB = null; | |
27 | ||
28 | // Session timeout in minuts | |
29 | // Default timeout is 20 minuts | |
30 | $CFG->session_timeout = 60; | |
31 | ||
01cc21cf MR |
32 | // Log level |
33 | // 0 = no logging | |
34 | // 1 = error | |
35 | // 2 = warning | |
36 | // 3 = info | |
37 | // 4 = debug | |
38 | // Default log level is error | |
034f5c59 | 39 | $CFG->log_level = 3; |
01cc21cf MR |
40 | |
41 | // Log method | |
7b561609 MR |
42 | // stderr = Log to stand error |
43 | // file = Log to file. Requires write permission | |
01cc21cf MR |
44 | // syslog = syslog |
45 | // Default log method is syslog | |
46 | $CFG->log_method = 'syslog'; | |
7b561609 MR |
47 | |
48 | // File to log to if log method is file | |
49 | // Both relative and absolut path is accepted | |
50 | // If path is relative root is $CFG->root | |
51 | // Default file is $CFG->root.qtadmin.log | |
52 | $CFG->log_file = 'qtadmin.log'; | |
6df4b805 | 53 | ?> |