Example #1
0
if(isset($_GET["verbose"])){$GLOBALS["VERBOSE"]=true;}
if(isset($_GET["js"])){js();exit;}
if(isset($_GET["popup"])){tabs();exit;}

if(isset($_GET["stunnel"])){stunnel();exit;}
if(isset($_GET["enable_stunnel"])){stunnel_save();exit;}

if(isset($_GET["relayhost"])){relayhost();exit;}
if(isset($_GET["server"])){relayhost_save();exit;}

if(isset($_GET["popup-auth-mech"])){smtp_sasl_mechanism_filter();exit;}
if(isset($_GET["plain"])){smtp_sasl_mechanism_filter_save();exit;}


if(isset($_GET["stunnel-status"])){echo main_stunnel_status();exit;}
if(isset($_GET["ApplyConfig"])){echo ApplyConfig();exit;}
if(isset($_GET["FillSenderForm"])){echo FillSenderForm();exit;}
if(isset($_POST["smtp_sender_dependent_authentication_email"])){smtp_sender_dependent_authentication_submit();exit();}


function js(){
	
	$tpl=new templates();
	$title=$tpl->_ENGINE_parse_body('{smtps_relayhost}');
	$page=CurrentPageName();	
	$include=file_get_contents("js/postfix-tls.js");
	
	
	$html="YahooWin2(750,'$page?popup=yes','$title');";
	
Example #2
0
    die;
}
if (isset($_GET["js"])) {
    js();
    exit;
}
if (isset($_GET["popup"])) {
    popup();
    exit;
}
if (isset($_POST["save_step"])) {
    echo save_step();
    exit;
}
if (isset($_GET["stunnel-status"])) {
    echo main_stunnel_status();
    exit;
}
if (isset($_GET["ApplyConfig"])) {
    echo ApplyConfig();
    exit;
}
if (isset($_GET["FillSenderForm"])) {
    echo FillSenderForm();
    exit;
}
if (isset($_POST["smtp_sender_dependent_authentication_email"])) {
    smtp_sender_dependent_authentication_submit();
    exit;
}
page();