include_once 'ressources/class.templates.inc';
include_once 'ressources/class.ldap.inc';
include_once 'ressources/class.users.menus.inc';
include_once 'ressources/class.main_cf.inc';
$usersmenus = new usersMenus();
if ($usersmenus->AsPostfixAdministrator == false) {
    header('location:users.index.php');
    exit;
}
if (isset($_GET["script"])) {
    ajax_js();
    exit;
}
if (isset($_GET["ajax-pop"])) {
    ajax_pop();
    exit;
}
if (isset($_GET["ajax-tabs"])) {
    ajax_tabs();
    exit;
}
if (isset($_GET["message_size_limit"])) {
    save();
    exit;
}
if (isset($_GET["PostfixNotifyMessagesRestrictions"])) {
    PostfixNotifyMessagesRestrictions_save();
    exit;
}
if (isset($_GET["ArticaPolicyFilterMaxRCPTInternalDomainsOnly"])) {
<?php
	include_once('ressources/class.templates.inc');
	include_once('ressources/class.ldap.inc');
	include_once('ressources/class.users.menus.inc');
	include_once('ressources/class.main_cf.inc');
	$usersmenus=new usersMenus();
if($usersmenus->AsPostfixAdministrator==false){header('location:users.index.php');exit;}


		if(isset($_GET["script"])){ajax_js();exit;}
		if(isset($_GET["ajax-pop"])){ajax_pop();exit;}
		if(isset($_GET["message_size_limit"])){save();exit;}
		if(isset($_GET["PostfixNotifyMessagesRestrictions"])){PostfixNotifyMessagesRestrictions_save();exit;}
		if(isset($_GET["ArticaPolicyFilterMaxRCPTInternalDomainsOnly"])){ArticaPolicyFilterMaxRCPTInternalDomainsOnly_save();exit;}
		
		
		

function ajax_js(){
	$page=CurrentPageName();
	$tpl=new templates();
	$title=$tpl->_ENGINE_parse_body('{messages_restriction}');
	$html="
	var x='$x';
	$datas
	function LoadMain(){
		YahooWinS(550,'$page?ajax-pop=yes','$title');
	}