]>
Commit | Line | Data |
---|---|---|
6df4b805 | 1 | <?php |
6b3d5ba9 | 2 | /* vim: set ts=4 tw=0 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 | ||
5ec97892 MR |
17 | // wblistadm server |
18 | $CFG->wblistadm_url = "http://127.0.0.1:8080"; | |
19 | ||
6df4b805 MR |
20 | $CFG->root = '/usr/share/quarantine-admin/'; |
21 | $CFG->wwwroot = '/qtadmin/'; | |
22 | ||
23 | // HTTP_AUTH or LDAP | |
24 | $CFG->auth_method = 'LDAP'; | |
25 | // If HTTP_AUTH is chosen configure admin user here | |
26 | //$CFG->admin_user = 'some_admin'; | |
27 | ||
28 | $CFG->db_driver = 'mysqli'; | |
29 | $DB = null; | |
30 | ||
31 | // Session timeout in minuts | |
32 | // Default timeout is 20 minuts | |
33 | $CFG->session_timeout = 60; | |
34 | ||
01cc21cf MR |
35 | // Log level |
36 | // 0 = no logging | |
37 | // 1 = error | |
38 | // 2 = warning | |
39 | // 3 = info | |
40 | // 4 = debug | |
41 | // Default log level is error | |
034f5c59 | 42 | $CFG->log_level = 3; |
01cc21cf MR |
43 | |
44 | // Log method | |
7b561609 MR |
45 | // stderr = Log to stand error |
46 | // file = Log to file. Requires write permission | |
01cc21cf MR |
47 | // syslog = syslog |
48 | // Default log method is syslog | |
49 | $CFG->log_method = 'syslog'; | |
7b561609 MR |
50 | |
51 | // File to log to if log method is file | |
52 | // Both relative and absolut path is accepted | |
53 | // If path is relative root is $CFG->root | |
54 | // Default file is $CFG->root.qtadmin.log | |
55 | $CFG->log_file = 'qtadmin.log'; | |
6df4b805 | 56 | ?> |