// Sponsored by WIEDENMANN SEILE GMBH, http://www.wiedenmannseile.de
//
// This file is part of Wiedenmann Vacation.
//
// This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published
// by the Free Software Foundation; either version 3 of the License, or
// (at your option) any later version.
//
// This program is distributed in the hope that it will be useful, but
// WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
// General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with this program. If not, see ,
// or write to
// $_REQUEST['_DEBUG_'] = 1;
// --------------------------------------------------
// |||:sec:||| CONFIGURATION
// --------------------------------------------------
// All users in $PASSWD_FILE, whose user ID >= $USER_ID_MIN and <=
// $USER_ID_MAX are considered:
// 1. If the user appears in $ALLOWED_USERS, he is always included
// 2. If the HOME directory does not start with $HOME_PFX, the user is ignored
// 3. If the user appears in $INVALID_USERS, he is ignored
// 4. The user is authorized.
// Alle Benutzer in $PASSWD_FILE, deren User ID >= $USER_ID_MIN und <=
// $USER_ID_MAX werden in Betracht gezogen:
// 1. Falls der Benutzer in $ALLOWED_USERS angegeben ist, wird er immer zugelassen.
// 2. Wenn das HOME-Verzeichnis nicht mit $HOME_PFX beginnnt, wird der Benutzer nicht zugelasssen.
// 3. Wenn der Benutzer in $INVALID_USERS angegeben ist, wird er nicht zugelasssen.
// 4. Der Benutzer wird zugelassen.
$DOMAIN_SUFFIX = '@ws-gruppe.de';
// User which are always allowed.
// If the user appears in $PASSWD_FILE, he is always enabled.
$ALLOWED_USERS = Array(
);
// Administrators can modify the settings of all users.
$ADMIN_USERS = Array(
'sw',
);
// User aliases for vacation
$USER_ALIASES = Array(
// auto-generated |:conf:| /etc/srvconfig/mail/userdb-user-for-mx.sh --php-alias
'admin' => 'ws.admin',
// |:conf:| end
);
// Invalid users.
// These users are always ignored.
$INVALID_USERS = Array(
'clamav',
'postman',
'vmail',
// auto-generated |:conf:| /etc/srvconfig/mail/userdb-user-for-mx.sh x | sed "s,^, ',;s/$/',/"
'bn',
// |:conf:| end
);
$LANGUAGE = 'en';
$LANGUAGE = 'de';
$PASSWD_FILE = '/etc/passwd';
$SHADOW_FILE = '/etc/shadow';
$HTPASSWD_FILE = '.htpasswd';
$HOME_PFX = '/home/';
$USER_ID_MIN = 1000;
$USER_ID_MAX = 60000;
$SUDO_CMD = '/usr/bin/sudo';
$SUDO_OPT_H = ' -H';
$TEST_CMD = dirname(__FILE__) . '/test_readable.sh';
$RM_CMD = '/bin/rm -f';
$CAT_CMD = '/bin/cat';
$WRITE_TO_CMD = dirname(__FILE__) . '/write_to.sh';
$FORMAIL_CMD = '/usr/bin/formail';
$VACATION_CMD = '/usr/bin/vacation';
$VACATION_MSG_FILE = '.vacation.msg';
$VACATION_MSG_IN_FILE = '.vacation.msg.in';
$VACATION_DB_FILE = '.vacation.db';
$VACATION_INIT_OPTS = '-i -r 1';
$VACATION_EXLCUDE_OPTS = '-x';
$VACATION_FORWARD_ENTRY = sprintf('"| %s -c | %s %%s"', $FORMAIL_CMD, $VACATION_CMD); // use sprintf($VFE, $user);
$FORWARD_FILE = '.forward';
$VACATION_FORWARD_EXT_ENTRY = '"| /usr/bin/formail -c | /etc/postfix/dovecot-deliver.sh"';
$FORWARD_EXTENSIONS = Array('+sent', '+drafts', '+trash');
$EXPERT_ENABLED = True;
$HEADER_REMOVE = Array(
'bcc',
'cc',
'date',
'delivered-to',
'message-id',
'received',
'return-path',
'to',
'user-agent',
'references',
'in-reply-to',
);
$FOOTER = trim('
');
//
// :ide-menu: Emacs IDE Menu - Buffer @BUFFER@
// . M-x `eIDE-menu' ()(eIDE-menu "z")
// :ide: COMPILE: PHP _DEBUG_=2 _DEBUG_TEST_=2
// . (compile (concat "php " (file-name-nondirectory (buffer-file-name)) " _DEBUG_=2 _DEBUG_TEST_=2"))
// :ide: QUO: $this->
// . (insert "$this->" )
// :ide: COMPILE: PHP w/o args
// . (compile (concat "php " (file-name-nondirectory (buffer-file-name)) ""))
// :ide: COMPILE: PHP _DEBUG_=1 _DEBUG_TEST_=1
// . (compile (concat "php " (file-name-nondirectory (buffer-file-name)) " _DEBUG_=1 _DEBUG_TEST_=1"))
//
// Local Variables:
// mode: php
// End:
?>