Exemple #1
0
    exit;
}
if (isset($_GET["apply_sender_routing_rule"])) {
    apply_sender_routing_rule();
    exit;
}
if (isset($_GET["smtpd-client-restrictions"])) {
    smtpd_client_restrictions();
    exit;
}
if (isset($_GET["mastercf"])) {
    master_cf();
    exit;
}
if (isset($_GET["RunSaUpd"])) {
    RunSaUpd();
    exit;
}
if (isset($_GET["postfix-instances-list"])) {
    postfix_instances_list();
    exit;
}
if (isset($_GET["postfix-reconfigure-transport"])) {
    postfix_reconfigure_transport();
    exit;
}
if (isset($_GET["tests-smtp-watchdog"])) {
    test_smtp_watchdog();
    exit;
}
if (isset($_GET["instance-delete"])) {
Exemple #2
0


	$page=CurrentPageName();
	$tpl=new templates();
	
	$users=new usersMenus();
	if(!$users->AsPostfixAdministrator){
		$error=$tpl->_ENGINE_parse_body("{ERROR_NO_PRIVS}");
		echo "alert('$error')";
		die();
	}
	
	if(isset($_GET["popup"])){popup();exit;}
	if(isset($_GET["ev"])){updev();exit;}
	if(isset($_POST["RunSaUpd"])){RunSaUpd();exit;}
js();


function js(){
	
	$tpl=new templates();
	$page=CurrentPageName();
	$title=$tpl->_ENGINE_parse_body('{UPDATE_SA_UPDATE}');
	$rcpt=$_GET["rcpt"];
	$html="
	function saupdatestart(){
			RTMMail(850,'$page?popup=yes','$title');
		}
		
		var x_RunSaUpd= function (obj) {