Пример #1
0
function save(){
	$page=CurrentPageName();
	$tpl=new templates();
	$main=new maincf_multi($_GET["hostname"],$_GET["ou"]);
	if($_GET["freeze_delivery_queue"]==1){$main->SET_VALUE("freeze_delivery_queue",0);}else{$main->SET_VALUE("freeze_delivery_queue",1);}
	$sock=new sockets();
	$sock->getFrameWork("cmd.php?postfix-freeze=yes&hostname={$_GET["hostname"]}");
}
Пример #2
0
function Save()
{
    $main = new maincf_multi($_GET["hostname"], $_GET["ou"]);
    $main->SET_VALUE("EnableSubmission", $_GET["EnableSubmission"]);
    $main->SET_VALUE("EnableSasl", $_GET["EnableSasl"]);
    $sock = new sockets();
    $sock->getFrameWork("cmd.php?postfix-multi-sasl={$_GET["hostname"]}");
}
Пример #3
0
function SaveForm()
{
    $main = new maincf_multi($_POST["hostname"]);
    $main->SET_VALUE("enable_original_recipient", $_POST["enable_original_recipient"]);
    $main->SET_VALUE("undisclosed_recipients_header", $_POST["undisclosed_recipients_header"]);
    $main->SET_VALUE("smtpd_discard_ehlo_keywords", $_POST["smtpd_discard_ehlo_keywords"]);
    $sock = new sockets();
    $sock->getFrameWork("cmd.php?postfix-others-values=yes&hostname={$_POST["hostname"]}");
}
Пример #4
0
function save()
{
    $main = new maincf_multi($_POST["hostname"], $_POST["ou"]);
    $main->SET_VALUE("detect_8bit_encoding_header", $_POST["detect_8bit_encoding_header"]);
    $main->SET_VALUE("disable_mime_output_conversion", $_POST["disable_mime_output_conversion"]);
    $main->SET_VALUE("disable_mime_input_processing", $_POST["disable_mime_input_processing"]);
    $main->SET_VALUE("mime_nesting_limit", $_POST["mime_nesting_limit"]);
    $sock = new sockets();
    $sock->getFrameWork("cmd.php?postfix-others-values=yes&hostname={$_POST["hostname"]}");
}
Пример #5
0
function save()
{
    $main = new maincf_multi($_POST["hostname"]);
    $main->SET_VALUE("EnablePostfixHaProxy", $_POST["EnablePostfixHaProxy"]);
    $sock = new sockets();
    $sock->getFrameWork("postfix.php?happroxy=yes&hostname={$_POST["hostname"]}");
}
function save_transport()
{
    $main = new maincf_multi($_POST["hostname"]);
    $main->SET_VALUE("mailbox_transport", trim(strtolower($_POST["mailbox_transport"])));
    $sock = new sockets();
    $sock->getFrameWork("postfix.php?mailbox-transport=yes&hostname={$_POST["hostname"]}");
}
function save(){
	$sock=new sockets();
	$main=new maincf_multi("master","master");
	$_GET["message_size_limit"]=($_GET["message_size_limit"]*1000)*1024;
	$_GET["virtual_mailbox_limit"]=($_GET["virtual_mailbox_limit"]*1000)*1024;
	$sock->SET_INFO("message_size_limit",$_GET["message_size_limit"]);
	$sock->SET_INFO("default_destination_recipient_limit",$_GET["default_destination_recipient_limit"]);
	$sock->SET_INFO("smtpd_recipient_limit",$_GET["smtpd_recipient_limit"]);
	$sock->SET_INFO("mime_nesting_limit",$_GET["mime_nesting_limit"]);
	$sock->SET_INFO("header_address_token_limit",$_GET["header_address_token_limit"]);
	$sock->SET_INFO("virtual_mailbox_limit",$_GET["virtual_mailbox_limit"]);
	$sock->SET_INFO("header_size_limit",$_GET["header_size_limit"]*1024);
	$sock->SET_INFO("SpamassassinMaxRCPTScore",$_GET["SpamassassinMaxRCPTScore"]);
	$main->SET_VALUE("max_rcpt_to",$_GET["max_rcpt_to"]);
	

		$users=new usersMenus();
		$users->LoadModulesEnabled();
		
		$EnableAmavisDaemon=$users->EnableAmavisDaemon;
		if(!$user->AMAVIS_INSTALLED){$EnableAmavisDaemon=0;}
		if(!is_numeric($EnableAmavisDaemon)){$EnableAmavisDaemon=0;}	
		$sock->getFrameWork("cmd.php?postfix-others-values=yes");
		if($EnableAmavisDaemon==1){$sock->getFrameWork("cmd.php?spamass-build=yes");}
}
Пример #8
0
function save()
{
    $main = new maincf_multi($_POST["hostname"], $_POST["ou"]);
    $main->SET_VALUE("smtpd_banner", $_POST["SMTP_BANNER"]);
    $sock = new sockets();
    $sock->getFrameWork("cmd.php?postfix-others-values=yes&hostname={$_POST["hostname"]}");
}
Пример #9
0
function save_enable()
{
    $ou = base64_decode($_GET["ou"]);
    $main = new maincf_multi($_GET["hostname"], $ou);
    $page = CurrentPageName();
    $main->SET_VALUE("PostFixEnableQueueInMemory", $_GET["PostFixEnableQueueInMemory"]);
    $main->SET_VALUE("PostFixQueueInMemory", $_GET["PostFixQueueInMemory"]);
    $sock = new sockets();
    if ($_GET["hostname"] == "master") {
        $sock->SET_INFO("PostFixEnableQueueInMemory", $_GET["PostFixEnableQueueInMemory"]);
        $sock->SET_INFO("PostFixQueueInMemory", $_GET["PostFixQueueInMemory"]);
        $sock->getFrameWork("cmd.php?restart-postfix-single=yes");
    } else {
        $sock->getFrameWork("cmd.php?postfix-multi-perform-reconfigure={$_GET["hostname"]}");
    }
}
Пример #10
0
function save()
{
    $master = new maincf_multi($_GET["hostname"], $_GET["ou"]);
    $master->SET_VALUE("PostfixMasterEnableSSL", $_GET["enable_smtps"]);
    $sock = new sockets();
    $sock->getFrameWork("cmd.php?postfix-multi-mastercf={$_GET["hostname"]}");
}
function SAVE()
{
    $ou = base64_decode($_GET["ou"]);
    $main = new maincf_multi($_GET["hostname"], $ou);
    $main->SET_VALUE("PostfixHideClientMua", $_GET["PostfixHideClientMua"]);
    $sock = new sockets();
    $sock->getFrameWork("cmd.php?postfix-multi-settings={$_GET["hostname"]}");
}
function save()
{
    $main = new maincf_multi($_POST["hostname"]);
    if ($_POST["myorigin2"] != null) {
        $_POST["myorigin"] = $_POST["myorigin2"];
    }
    $main->SET_VALUE("myorigin", $_POST["myorigin"]);
    $sock = new sockets();
    $sock->getFrameWork("cmd.php?postfix-multi-reconfigure={$_POST["hostname"]}");
}
function save_enable()
{
    $ou = base64_decode($_GET["ou"]);
    $main = new maincf_multi($_GET["hostname"], $ou);
    $page = CurrentPageName();
    $PostFixEnableAiguilleuse = $main->SET_VALUE("PostFixEnableAiguilleuse", $_GET["PostFixEnableAiguilleuse"]);
    $sock = new sockets();
    $sock->getFrameWork("cmd.php?postfix-multi-mastercf={$_GET["hostname"]}");
    $sock->getFrameWork("cmd.php?postfix-multi-aiguilleuse={$_GET["hostname"]}");
}
Пример #14
0
function enable_attachment_blocking_postfix_save()
{
    $main = new maincf_multi($_GET["hostname"]);
    $main->SET_VALUE("enable_attachment_blocking_postfix", $_GET["enable_attachment_blocking_postfix"]);
    $sock = new sockets();
    if ($sock->GET_INFO("EnablePostfixMultiInstance") == 1) {
        $sock->getFrameWork("cmd.php?postfix-multi-mime-header-checks={$_GET["hostname"]}");
        return;
    }
    $users = new usersMenus();
    if ($users->KAV_MILTER_INSTALLED) {
        $sock->getFrameWork("cmd.php?kavmilter-configure=yes");
    }
    $sock->getFrameWork("cmd.php?postfix-mime-header-checks=yes");
}
Пример #15
0
function save()
{
    $ou = $_GET["ou"];
    $hostname = $_GET["hostname"];
    $maincf = new maincf_multi($hostname, $ou);
    $sock = new sockets();
    $_GET["message_size_limit"] = $_GET["message_size_limit"] * 1000 * 1024;
    $_GET["virtual_mailbox_limit"] = $_GET["virtual_mailbox_limit"] * 1000 * 1024;
    $maincf->SET_VALUE("message_size_limit", $_GET["message_size_limit"]);
    $maincf->SET_VALUE("default_destination_recipient_limit", $_GET["default_destination_recipient_limit"]);
    $maincf->SET_VALUE("smtpd_recipient_limit", $_GET["smtpd_recipient_limit"]);
    $maincf->SET_VALUE("mime_nesting_limit", $_GET["mime_nesting_limit"]);
    $maincf->SET_VALUE("header_address_token_limit", $_GET["header_address_token_limit"]);
    $maincf->SET_VALUE("virtual_mailbox_limit", $_GET["virtual_mailbox_limit"]);
    $maincf->SET_VALUE("max_rcpt_to", $_GET["max_rcpt_to"]);
    $sock->getFrameWork("cmd.php?postfix-multi-settings={$hostname}");
}
Пример #16
0
function instances_duplicate_perform(){
	$tpl=new templates();
	$tcp=new IP();
	$q=new mysql();
	$sock=new sockets();
	$instance_hostname=$_GET["hostname"];
	$instance_src_hostname=$_GET["src"];
	$main=new maincf_multi($instance_src_hostname);
	$novirtual=false;
	
	$instance_ip=$_GET["ip"];
	$instance_ip_src=$main->ip_addr;
	if($instance_ip_src==null){echo $tpl->javascript_parse_text("\"$instance_src_hostname\" No such instance");return;}
	
	$organization=$_GET["ou"];
	if($organization==null){
	echo $tpl->javascript_parse_text("{error_choose_organization}");return;}
	
	
	if(trim($instance_hostname)==null){echo $tpl->javascript_parse_text("{instance_server_name}: NULL");return;}
	if(!$tcp->isValid($instance_ip)){echo $tpl->javascript_parse_text("{ipaddr}: \"$instance_ip\" Invalid");return;}
	if(!$tcp->isValid($instance_ip_src)){echo $tpl->javascript_parse_text("{ipaddr}: \"$instance_ip_src\" Invalid");return;}
	$main=new maincf_multi(null,null,$instance_ip);
	if($main->myhostname<>null){echo $tpl->javascript_parse_text("{ipaddr}: \"$instance_ip\" {already_used} -> $main->myhostname");return;}
	$main=new maincf_multi($instance_hostname,null,null);
	if($main->ip_addr<>null){echo $tpl->javascript_parse_text("{hostname}: \"$instance_hostname\" {already_used} -> $main->ip_addr");return;}
	
	$sql="SELECT ipaddr FROM nics_virtuals WHERE ipaddr='$instance_ip'";
	$ligne=mysql_fetch_array($q->QUERY_SQL($sql,"artica_backup"));
	if($ligne["ipaddr"]<>null){echo $tpl->javascript_parse_text("{ipaddr}: \"$instance_ip\" {already_used} -> {virtual_interfaces}");return;}
	
	$sql="SELECT ipaddr FROM nics_vlan WHERE ipaddr='$instance_ip'";
	$ligne=mysql_fetch_array($q->QUERY_SQL($sql,"artica_backup"));
	if($ligne["ipaddr"]<>null){
		writelogs("Associated to a vlan -> unset Contruct virtuals addresses",__FUNCTION__,__FILE__,__LINE__);
		$novirtual=true;
	}
	
	
	$PING=trim($sock->getFrameWork("cmd.php?ping=".urlencode($instance_ip)));
	if($PING=="TRUE"){
		echo $tpl->javascript_parse_text("$instance_ip:\n{ip_already_exists_in_the_network}");
		return;
	}	
	
	
	if(!$novirtual){
		writelogs("No virtual: FALSE",__FUNCTION__,__FILE__,__LINE__);
		$instance_ip_tbl=explode(".",$instance_ip);
		unset($instance_ip_tbl[count($instance_ip_tbl)-1]);
		$net=@implode(".",$instance_ip_tbl);
		writelogs("virtual: net -> $net",__FUNCTION__,__FILE__,__LINE__);
	
		$sql="SELECT * FROM nics_virtuals WHERE ipaddr LIKE '$net.%' ORDER BY ID DESC LIMIT 0,1";
		$ligne=mysql_fetch_array($q->QUERY_SQL($sql,"artica_backup"));
		if($ligne["ipaddr"]==null){echo $tpl->javascript_parse_text("{ipaddr}: \"$net*\" {no_such_interfaces} -> {virtual_interfaces}\n{you_need_to_create_virtual_ip_first}");return;}
		writelogs("$net.* {$ligne["nic"]} -> $instance_ip/{$ligne["netmask"]}",__FUNCTION__,__FILE__,__LINE__);
		
		$sql="INSERT INTO nics_virtuals (nic,org,ipaddr,netmask,cdir,gateway) 
		VALUES('{$ligne["nic"]}','$organization','$instance_ip','{$ligne["netmask"]}','{$ligne["cdir"]}','{$ligne["gateway"]}');";	
		$q=new mysql();
		$q->QUERY_SQL($sql,"artica_backup");
		
		if(!$q->ok){
			writelogs("virtual:ERROR $q->mysql_error",__FUNCTION__,__FILE__,__LINE__);
			echo $q->mysql_error;
			return;
		}
		
		
	}
		writelogs("All are OK -> starting importation",__FUNCTION__,__FILE__,__LINE__);

	$sql="SELECT `key`,`value`,`ValueTEXT`,`uuid` FROM `postfix_multi` WHERE `ip_address`='$instance_ip_src'";
	$results=$q->QUERY_SQL($sql,"artica_backup");	
	while($ligne=@mysql_fetch_array($results,MYSQL_ASSOC)){	
		$key=$ligne["key"];
		$value=$ligne["value"];
		$ValueTEXT=$ligne["ValueTEXT"];
		$uuid=$ligne["uuid"];
		if($key=="inet_interfaces"){continue;}
		if($key=="myhostname"){continue;}
		$value=addslashes($value);
		$ValueTEXT=addslashes($ValueTEXT);
		$sql="INSERT INTO `postfix_multi`
		(`key`,`value`,`ValueTEXT`,`uuid`,`ou`,`ip_address`)
		VALUES('$key','$value','$ValueTEXT','$uuid','$organization','$instance_ip')";
		writelogs($sql,__FUNCTION__,__FILE__,__LINE__);
		$q->QUERY_SQL($sql,"artica_backup");
		if(!$q->ok){
			echo $q->mysql_error;
			FailedIP($instance_ip);
			return;
		}
	}
	
$sql="INSERT INTO `postfix_multi`
		(`key`,`value`,`uuid`,`ou`,`ip_address`)
		VALUES('inet_interfaces','$instance_ip','$uuid','$organization','$instance_ip')";
	writelogs($sql,__FUNCTION__,__FILE__,__LINE__);
	$q->QUERY_SQL($sql,"artica_backup");
	
	if(!$q->ok){echo $q->mysql_error;FailedIP($instance_ip);return;}
	
$sql="INSERT INTO `postfix_multi`
		(`key`,`value`,`uuid`,`ou`,`ip_address`)
		VALUES('myhostname','$instance_hostname','$uuid','$organization','$instance_ip')";		
	writelogs($sql,__FUNCTION__,__FILE__,__LINE__);
	$q->QUERY_SQL($sql,"artica_backup");
	if(!$q->ok){echo $q->mysql_error;FailedIP($instance_ip);return;}

	$main=new maincf_multi(null,null,$instance_ip);	
	$main->SET_VALUE("VirtualHostNameToChange",$instance_hostname);		
	
	
}
function PostFixVerifyDatabaseSave()
{
    $hostname = $_POST["hostname"];
    unset($_POST["hostname"]);
    $main = new maincf_multi($hostname);
    while (list($num, $ligne) = each($_POST)) {
        $main->SET_VALUE($num, $ligne);
    }
    $sock = new sockets();
    $sock->getFrameWork("cmd.php?postfix-others-values=yes&hostname={$_POST["hostname"]}");
}
function relayhostSave()
{
    $ou = $_GET["ou"];
    $hostname = $_GET["hostname"];
    $tpl = new templates();
    if ($_GET["relay_port"] == null) {
        $_GET["relay_port"] = 25;
    }
    if ($_GET["relay_address"] == null) {
        echo $tpl->_ENGINE_parse_body("{error_no_server_specified}");
        exit;
    }
    $tool = new DomainsTools();
    writelogs("Port={$_GET["relay_port"]} address={$_GET["relay_address"]}", __FUNCTION__, __FILE__);
    $data = $tool->transport_maps_implode($_GET["relay_address"], $_GET["relay_port"], 'smtp', $_GET["MX_lookups"]);
    writelogs("Port={$_GET["relay_port"]} address={$_GET["relay_address"]}={$data}", __FUNCTION__, __FILE__);
    $data = str_replace('smtp:', '', $data);
    //smtp_sasl_password_maps
    $main = new maincf_multi($hostname, $ou);
    if ($_GET["username"] != null) {
        $auth = "{$_GET["username"]}:{$_GET["password"]}";
        $main->SET_VALUE("relayhost_authentication", $auth);
    }
    $main->SET_VALUE("relayhost", $data);
    $sock = new sockets();
    $sock->getFrameWork("cmd.php?postfix-multi-relayhost={$_GET["hostname"]}");
}
Пример #19
0
function SaveForm()
{
    $hostname = $_POST["hostname"];
    unset($_POST["hostname"]);
    writelogs("Save settings for {$hostname}", __FUNCTION__, __FILE__, __LINE__);
    $main = new maincf_multi($hostname);
    while (list($num, $val) = each($_POST)) {
        writelogs("{$num}=\"{$val}\"", __FUNCTION__, __FILE__);
        $main->SET_VALUE($num, $val);
    }
    $sock = new sockets();
    $sock->getFrameWork("cmd.php?postfix-others-values=yes&hostname={$hostname}");
}
Пример #20
0
function SaveParams()
{
    $main = new maincf_multi($_GET["hostname"]);
    $main->SET_VALUE("double_bounce_sender", $_GET["double_bounce_sender"]);
    $main->SET_VALUE("address_verify_sender", $_GET["address_verify_sender"]);
    $main->SET_VALUE("2bounce_notice_recipient", $_GET["2bounce_notice_recipient"]);
    $main->SET_VALUE("error_notice_recipient", $_GET["error_notice_recipient"]);
    $main->SET_VALUE("delay_notice_recipient", $_GET["delay_notice_recipient"]);
    $main->SET_VALUE("empty_address_recipient", $_GET["empty_address_recipient"]);
    $notif["notify_class_software"] = $_GET["notify_class_software"];
    $notif["notify_class_resource"] = $_GET["notify_class_resource"];
    $notif["notify_class_policy"] = $_GET["notify_class_policy"];
    $notif["notify_class_delay"] = $_GET["notify_class_delay"];
    $notif["notify_class_2bounce"] = $_GET["notify_class_2bounce"];
    $notif["notify_class_bounce"] = $_GET["notify_class_bounce"];
    $notif["notify_class_protocol"] = $_GET["notify_class_protocol"];
    $main->SET_BIGDATA("notify_class", base64_encode(serialize($notif)));
    $sock = new sockets();
    $sock->getFrameWork("cmd.php?postfix-notifs=yes&hostname={$_GET["hostname"]}");
}
function postfix_hostname_save(){
	$main=new maincf_multi($_GET["hostname"],$_GET["ou"]);
	$main->SET_VALUE("VirtualHostNameToChange",$_GET["VirtualHostNameToChange"]);
	$sock=new sockets();
	$sock->getFrameWork("cmd.php?postfix-multi-reconfigure={$_GET["hostname"]}");	
	}
Пример #22
0
function sasl_adv_save()
{
    $sock = new sockets();
    $main = new maincf_multi($_GET["hostname"], $_GET["ou"]);
    while (list($num, $ligne) = each($_GET)) {
        $sock->SET_INFO($num, $ligne);
        $main->SET_VALUE($num, $ligne);
    }
}
Пример #23
0
function save()
{
    $ou = base64_decode($_GET["ou"]);
    if ($_GET["hostname"] == "master") {
        $ipstr = "127.0.0.1";
    }
    $page = CurrentPageName();
    $main = new maincf_multi($_GET["hostname"], $ou, $ipstr);
    $myhostname = $main->GET("myhostname");
    if ($myhostname == null) {
        $main->SET_VALUE("myhostname", $_GET["hostname"]);
        $main = new maincf_multi($_GET["hostname"], $ou);
    }
    $main->SET_VALUE("dkimproxyEnabled", $_GET["dkimproxyEnabled"]);
    $main->SET_VALUE("dkimproxy_listenport", $_GET["listen_port"]);
    $main->SET_BIGDATA("dkimproxy_datas", base64_encode(serialize($_GET)));
}
Пример #24
0
function queue_settings_save()
{
    $master = new maincf_multi($_GET["hostname"], $_GET["ou"]);
    $master->SET_VALUE("minimal_backoff_time", $_GET["minimal_backoff_time"]);
    $master->SET_VALUE("maximal_backoff_time", $_GET["maximal_backoff_time"]);
    $master->SET_VALUE("bounce_queue_lifetime", $_GET["bounce_queue_lifetime"]);
    $master->SET_VALUE("maximal_queue_lifetime", $_GET["maximal_queue_lifetime"]);
    $sock = new sockets();
    $sock->getFrameWork("cmd.php?postfix-multi-settings={$_GET["hostname"]}");
}
Пример #25
0
function SimpleWords_EnableBodyChecks()
{
    $main = new maincf_multi($_GET["hostname"], $_GET["ou"]);
    if (!$main->SET_VALUE("EnableBodyChecks", $_GET["EnableBodyChecks"])) {
        return;
    }
    $sock = new sockets();
    $sock->getFrameWork("cmd.php?postfix-body-checks={$_GET["hostname"]}");
}
Пример #26
0
function save()
{
    $main = new maincf_multi($_POST["hostname"], $_POST["ou"]);
    $main->SET_VALUE("smtpd_banner", url_decode_special_tool($_POST["SMTP_BANNER"]));
}
Пример #27
0
function EnablePostScreen_edit(){
	writelogs("Saving PostScreen service {$_GET["hostname"]}/{$_GET["ou"]}={$_GET["EnablePostScreen"]}",__FUNCTION__,__FILE__,__LINE__);
	
	$page=CurrentPageName();
	$tpl=new templates();
	$main=new maincf_multi($_GET["hostname"],$_GET["ou"]);
	$main->SET_VALUE("EnablePostScreen",$_GET["EnablePostScreen"]);	
	$sock=new sockets();
	$sock->getFrameWork("cmd.php?postscreen=yes&hostname={$_GET["hostname"]}");
	
}
function PostFixSaveServerCacheSettings()
{
    $main = new maincf_multi($_POST["hostname"]);
    $main->SET_VALUE("smtp_connection_cache_on_demand", $_POST["smtp_connection_cache_on_demand"]);
    $main->SET_VALUE("smtp_connection_cache_time_limit", $_POST["smtp_connection_cache_time_limit"]);
    $main->SET_VALUE("smtp_connection_reuse_time_limit", $_POST["smtp_connection_reuse_time_limit"]);
    $main->SET_VALUE("connection_cache_ttl_limit", $_POST["connection_cache_ttl_limit"]);
    $main->SET_VALUE("connection_cache_status_update_time", $_POST["connection_cache_status_update_time"]);
    $sock = new sockets();
    $sock->getFrameWork("cmd.php?postfix-others-values=yes&hostname={$_POST["hostname"]}");
}
Пример #29
0
function SaveDNSSettings()
{
    $main = new maincf_multi("master", "master");
    $sock = new sockets();
    $sock->SET_INFO("myhostname", $_GET["myhostname"]);
    $main->SET_VALUE("ignore_mx_lookup_error", $_GET["ignore_mx_lookup_error"]);
    $main->SET_VALUE("disable_dns_lookups", $_GET["disable_dns_lookups"]);
    $sock->getFrameWork("cmd.php?postfix-others-values=yes");
}
Пример #30
0
function SaveForm(){
	$main=new main_cf();
	$main=new maincf_multi("master","master");
	while (list ($num, $val) = each ($_GET) ){
		writelogs("$num=\"$val\"",__FUNCTION__,__FILE__);
		$main->main_array[$num]=$val;
		$main->SET_VALUE($num,$val);
	}
	$main->save_conf();
	$tpl=new templates();
	echo $tpl->_ENGINE_parse_body('{success}');
}