Spam Filter
METHOD=POST> Tipologia rifiuto :

Chiave di ricerca alternativa (es. 14:12 oppure nome@ ) " >

"; chdir($grey_log_dir); echo ""; array_multisort(array_map('filemtime', ($logfiles = glob("greylist.log.*", GLOB_BRACE))), SORT_DESC, $logfiles); foreach($logfiles as $file) { echo ""; } echo ""; ?> Ricerca ]"; ?>

". "Nr.". "Data". "Esito". "Indirizzo IP". "Mittente". "Destinatario". "Inf.Aggiutive"; # 2012/06/15 22:26:06 smtp13.j2.com [204.11.168.115] NoReply@MyFax.com -> matteo@bellandi.it accept (ACL 117) Sender IP whitelisted by DNSRBL, not delayed by milter-greylist-4.2.7 (freebsd.bellandi.it [83.149.158.114]); Fri, 15 Jun 2012 22:26:06 +0200 (CEST) $cmdstr = $grepbin." -m ".$_REQUEST["nlog"]." \"".$_REQUEST["key"]."\" ".$grey_log_dir."/".$_REQUEST["grey_log_file"]; $fp = popen($cmdstr, 'r'); while ($line = fgets($fp, 4096)){ preg_match_all("|(.{20}).*\[(.*)\] (.*) -\> (.*) (.*) (\(.*\)) .*$|U",$line,$out, PREG_PATTERN_ORDER); switch ($out[5][0]){ case "tempfail": $fnt_color="magenta"; break; case "accept": $fnt_color="green"; break; case "reject": $fnt_color="red"; break; } echo ""; echo "".++$index.""; echo "".$out[1][0].""; echo "".$out[5][0].""; echo "".$out[2][0].""; echo "".$out[3][0].""; echo "".$out[4][0].""; echo "".substr($out[6][0],0,50).""; } pclose($fp); } ?>