Ejemplo n.º 1
0
}
if (isset($_POST["hostname"])) {
    $_GET["hostname"] = $_POST["hostname"];
}
if (!PostFixMultiVerifyRights()) {
    $tpl = new templates();
    echo "alert('" . $tpl->javascript_parse_text("{ERROR_NO_PRIVS}") . "');";
    die;
    exit;
}
if (isset($_GET["popup"])) {
    popup();
    exit;
}
if (isset($_GET["check_client_access_multi_add"])) {
    check_client_access_multi_add();
    exit;
}
if (isset($_GET["check_client_access_del"])) {
    check_client_access_del();
    exit;
}
if (isset($_GET["import_headers_regex"])) {
    import_headers_regex();
    exit;
}
if (isset($_GET["edit_postfix_regex_rule"])) {
    echo postfix_regex_rule_edit();
    exit;
}
if (isset($_POST["EditPostfixRegexRule"])) {
Ejemplo n.º 2
0
	include_once('ressources/class.users.menus.inc');
	include_once('ressources/class.maincf.multi.inc');
	include_once('ressources/class.main_cf_filtering.inc');
	
	if(isset($_GET["org"])){$_GET["ou"]=$_GET["org"];}
	if(isset($_POST["ou"])){$_GET["ou"]=$_POST["ou"];}
	if(isset($_POST["hostname"])){$_GET["hostname"]=$_POST["hostname"];}
	
	if(!PostFixMultiVerifyRights()){
		$tpl=new templates();
		echo "alert('". $tpl->javascript_parse_text("{ERROR_NO_PRIVS}")."');";
		die();exit();
	}	

if(isset($_GET["popup"])){popup();exit;}
if(isset($_GET["check_client_access_multi_add"])){check_client_access_multi_add();exit;}
if(isset($_GET["check_client_access_del"])){check_client_access_del();exit;}
if(isset($_GET["import_headers_regex"])){import_headers_regex();exit;}
if(isset($_GET["edit_postfix_regex_rule"])){echo postfix_regex_rule_edit();exit;}
if(isset($_POST["EditPostfixRegexRule"])){postfix_regex_rule_save();exit;}
if(isset($_GET["PostfixRegexDelete"])){postfix_regex_rule_delete();exit;}
if(isset($_GET["delete_headers_regex"])){postfix_regex_rule_deleteall();exit();}
if(isset($_GET["quick_deny_domains"])){macros_quick_deny_domains();exit;}
if(isset($_GET["postfix_regex"])){echo postfix_regex();exit;}
if(isset($_GET["blockips"])){echo postfix_check_client_access();exit;}

if(isset($_GET["SimpleWords"])){SimpleWords();exit;}
if(isset($_GET["SimpleWords-popup"])){SimpleWords_popup();exit;}
if(isset($_GET["SimpleWords-list"])){SimpleWords_list();exit;}
if(isset($_POST["SimpleWords-save"])){SimpleWords_save();exit;}
if(isset($_GET["SimpleWordsDelete"])){SimpleWords_delete();exit;}