function runMaintenance() { //remove all unactivated more than 10 days old. /*$removeUnactivatedQuery = "DELETE FROM `".MYSQL_DATABASE_PREFIX."users` WHERE `user_regdate` < SUBDATE( NOW(),10) AND `user_activated` = 0"; $removeUnactivatedResult = mysql_query($removeUnactivatedQuery);*/ emptycache(); return true; }
exit; } if (isset($_GET["MailArchiverEnabled"])) { backup_save(); exit; } if (isset($_GET["EnableVirtualDomainsInMailBoxes"])) { multidomains_save(); exit; } if (isset($_GET["bar-status"])) { echo bar_status(); exit; } if (isset($_GET["emptycache"])) { emptycache(); exit; } if (isset($_GET["filter-connect-warning"])) { filter_connect_warning(); exit; } if (isset($_GET["js"])) { js(); exit; } if (isset($_GET["popup-index"])) { popup_index(); exit; } if (isset($_GET["popup-isp"])) {
if(isset($_GET["popup-auth"])){sasl_popup();exit();} if(isset($_GET["popup-auth-status"])){sasl_popup_status();exit();} if(isset($_GET["popup-auth-mech"])){sasl_popup_auth();exit();} if(isset($_GET["save_auth"])){sasl_save();exit;} if(isset($_GET["popup-auth-status"])){sasl_satus();exit;} if(isset($_GET["popup-auth-adv"])){sasl_adv();exit;} if(isset($_GET["broken_sasl_auth_clients"])){sasl_adv_save();exit;} if(isset($_GET["MailArchiverEnabled"])){backup_save();exit;} if(isset($_GET["EnableVirtualDomainsInMailBoxes"])){multidomains_save();exit;} if(isset($_GET["bar-status"])){echo bar_status();exit;} if(isset($_GET["emptycache"])){emptycache();exit;} if(isset($_GET["filter-connect-warning"])){filter_connect_warning();exit;} if(isset($_GET["js"])){js();exit;} if(isset($_GET["popup-index"])){popup_index();exit;} if(isset($_GET["popup-isp"])){isp_popup();exit;} //reject_unknown_sender_domain,reject_non_fqdn_hostname, reject_non_fqdn_sender,reject_invalid_hostname //http://wiki.centos.org/HowTos/postfix_restrictions js(); function isp_js(){