function DefaultGroup()
{
    @copy("/usr/share/artica-postfix/bin/install/kavmilter.default.conf", "/etc/kav/5.6/kavmilter/groups.d/default.conf");
    SendmailPath(true);
}
Exemple #2
0
if (isset($_GET["cluster-add"])) {
    CLUSTER_ADD();
    exit;
}
//computers
if (isset($_GET["computers-import-nets"])) {
    COMPUTERS_IMPORT_ARTICA();
    exit;
}
if (isset($_GET["smbclientL"])) {
    smbclientL();
    exit;
}
//paths
if (isset($_GET["SendmailPath"])) {
    SendmailPath();
    exit;
}
if (isset($_GET["release-quarantine"])) {
    release_quarantine();
    exit;
}
//policyd-weight
if (isset($_GET["PolicydWeightReplicConF"])) {
    Restart_Policyd_Weight();
    exit;
}
//dansguardian
if (isset($_GET["dansguardian-update"])) {
    dansguardian_update();
    exit;
Exemple #3
0
if(isset($_GET["file-content"])){file_content();exit;}
if(isset($_GET["file-remove"])){file_remove();exit;}

//CLUSTERS
if(isset($_GET["notify-clusters"])){CLUSTER_NOTIFY();exit;}
if(isset($_GET["cluster-restart-notify"])){CLUSTER_CLIENT_RESTART_NOTIFY();exit;}
if(isset($_GET["cluster-client-list"])){CLUSTER_CLIENT_LIST();exit;}
if(isset($_GET["cluster-delete"])){CLUSTER_DELETE();exit;}
if(isset($_GET["cluster-add"])){CLUSTER_ADD();exit;}

//computers
if(isset($_GET["computers-import-nets"])){COMPUTERS_IMPORT_ARTICA();exit;}
if(isset($_GET["smbclientL"])){smbclientL();exit;}

//paths 
if(isset($_GET["SendmailPath"])){SendmailPath();exit;}
if(isset($_GET["release-quarantine"])){release_quarantine();exit;}

//policyd-weight
if(isset($_GET["PolicydWeightReplicConF"])){Restart_Policyd_Weight();exit;}

//dansguardian
if(isset($_GET["dansguardian-update"])){dansguardian_update();exit;}
if(isset($_GET["shalla-update-now"])){shalla_update();exit;}

$uri=$_GET["uri"];

switch ($uri) {
	case "GlobalApplicationsStatus":GlobalApplicationsStatus();exit;break;
	case "artica_version":artica_version();exit;break;
	case "daemons_status":daemons_status();exit;break;