Ejemplo n.º 1
0
    echo postfix_tls_certificate();
    exit;
}
if (isset($_GET["TreePostfixTLSCertificateInfosSubmit"])) {
    if (!$user->AsAnAdministratorGeneric) {
        header('location:users.index.php');
        die;
    }
    postfix_tls_certificate_save();
    exit;
}
if ($user->AsPostfixAdministrator == false) {
    header('location:users.index.php');
}
if (isset($_GET["fingerprint"])) {
    postfix_relay_clientcerts_add();
    exit;
}
if (isset($_GET["x_postfix_relay_clientcerts"])) {
    echo postfix_relay_clientcerts_table();
    exit;
}
if (isset($_GET["postfix_relay_clientcerts_del"])) {
    postfix_relay_clientcerts_del();
    exit;
}
if (isset($_GET["TLSLoggingLevel"])) {
    TLSLoggingLevel();
    exit;
}
if (isset($_GET["TLSLoggingSave"])) {
Ejemplo n.º 2
0
if(isset($_GET["edit_certificate"])){
	if(!$user->AsAnAdministratorGeneric){header('location:users.index.php');die();}
	echo postfix_tls_certificate();
	exit;
}

if(isset($_GET["TreePostfixTLSCertificateInfosSubmit"])){
	if(!$user->AsAnAdministratorGeneric){header('location:users.index.php');die();}
	postfix_tls_certificate_save();exit;
	}


if($user->AsPostfixAdministrator==false){header('location:users.index.php');}

if(isset($_GET["fingerprint"])){postfix_relay_clientcerts_add();exit;}
if(isset($_GET["x_postfix_relay_clientcerts"])){echo postfix_relay_clientcerts_table();exit;}
if(isset($_GET["postfix_relay_clientcerts_del"])){postfix_relay_clientcerts_del();exit;}

if(isset($_GET["TLSLoggingLevel"])){TLSLoggingLevel();exit;}
if(isset($_GET["TLSLoggingSave"])){TLSLoggingLevelSave();exit;}
if(isset($_GET["TLSStartTLSOffer"])){TLSStartTLSOffer();exit;}
if(isset($_GET["smtp_tls_note_starttls_offer"])){smtp_tls_note_starttls_offer();exit;}
if(isset($_GET["TLSAddSMTPServer"])){TLSAddSMTPServer();exit;}
if(isset($_GET["TLSLoadTable"])){echo smtp_tls_policy_maps();exit;}
if(isset($_GET["TLSAddSMTPServerSave"])){TLSAddSMTPServerSave();exit;}
if(isset($_GET["TLSDeleteSMTPServer"])){TLSDeleteSMTPServer();exit;}
if(isset($_GET["tab"])){postfix_tls_switch();exit;}

if(isset($_GET["TLSCertificateGenerate"])){postfix_tls_certificate_generate();exit;}
if(isset($_GET["smtpd_tls_security_level_infos"])){smtpd_tls_security_level_infos();exit;}