2006-01-24 09:54:12 +01:00
|
|
|
$CSS_URL = '/admin/ql-web/css/default.css';
|
2006-01-24 04:11:11 +01:00
|
|
|
|
|
|
|
$HTML_TITLE = 'QL-Web - Entwicklung';
|
|
|
|
|
2006-01-24 09:54:12 +01:00
|
|
|
$QL_WEB_DIR = '/data/ql-web';
|
2006-01-24 04:11:11 +01:00
|
|
|
$TEMPLATE_DIR = "$QL_WEB_DIR/template";
|
|
|
|
$LANGUAGE_DIR = "$QL_WEB_DIR/lang";
|
|
|
|
|
|
|
|
$HTML_LANGUAGE = 'de';
|
|
|
|
|
|
|
|
$LDAP_HOST = 'ldap.sao';
|
|
|
|
|
|
|
|
# the string '_USERNAME_' will be replaced by the real username
|
2006-01-24 09:54:12 +01:00
|
|
|
$LDAP_USER_DN = "cn=_USERNAME_,sc=mailAccount,ou=People,o=neofaxe,dc=systemausfall,dc=org";
|
2006-01-24 04:11:11 +01:00
|
|
|
|
2006-01-29 18:54:38 +01:00
|
|
|
# DNs for passwords (more than one is allowed)
|
|
|
|
# _USERNAME_ will be substituted (see LDAP_USER_DN)
|
|
|
|
# do not use the reserved name 'all'!
|
|
|
|
# every entry must contain the following elements: 'dn'. 'attr' and 'hash'
|
|
|
|
%LDAP_PASSWD = (
|
|
|
|
"Mail" => { dn => $LDAP_USER_DN,
|
|
|
|
attr => 'userPassword',
|
|
|
|
hash => 'MD5' },
|
|
|
|
"Web" => { dn => "cn=_USERNAME_,sc=webAccount,ou=People,o=neofaxe,dc=systemausfall,dc=org",
|
|
|
|
attr => 'userPassword',
|
|
|
|
hash => 'MD5' } );
|
2006-01-27 11:47:13 +01:00
|
|
|
|
2006-01-29 21:12:25 +01:00
|
|
|
# spam filtering disables forwarding (for spam) and local delivery (done by spam_filter.sh)
|
|
|
|
$LDAP_SPAM_MOVE = [ "deliveryProgramPath" => "/data/scripts/spam_filter.sh move",
|
|
|
|
"deliveryMode" => "nolocal" ];
|
2006-01-27 11:47:13 +01:00
|
|
|
|
2006-01-29 21:12:25 +01:00
|
|
|
# spam marking disables local delivery (done by spam_filter.sh)
|
|
|
|
$LDAP_SPAM_MARK = [ "deliveryProgramPath" => "/data/scripts/spam_filter.sh mark_only",
|
2006-01-27 11:47:13 +01:00
|
|
|
"deliveryMode" => "nolocal" ];
|
2006-01-24 04:11:11 +01:00
|
|
|
|
2006-01-29 18:54:38 +01:00
|
|
|
# some spamassassin options
|
|
|
|
# syntax: "OPTION" => "DEFAULT"
|
|
|
|
# (look into /etc/spamassassin/local.cf for examples)
|
|
|
|
# you have to change the code of ql-web.pl to use more options
|
|
|
|
$LDAP_SPAM_OPTIONS = [ "required_score" => "5.0",
|
|
|
|
"report_safe" => 2,
|
|
|
|
"rewrite_header Subject" => "*** SPAM-Verdacht ***",
|
|
|
|
"use_bayes" => 1,
|
|
|
|
"whitelist_from" => "" ];
|