Changes

From SME Server
Jump to navigationJump to search
43 bytes added ,  14:05, 10 May 2019
Line 270: Line 270:  
|grep -v dnsbl.903 \
 
|grep -v dnsbl.903 \
 
|tai64nlocal \
 
|tai64nlocal \
|awk -v DNSBL=$TESTBL -F"\t" '{split($1,intro," "); split(intro[8],ip,"."); split($9,hits," "); split( intro[2],time,"."); \
+
|awk -v DNSBL=$TESTBL -F"\t" '{split($1,intro," "); intro[6] == "`" ? split(intro[7],ip,".") : split(intro[8],ip,"."); split($9,hits," "); split( intro[2],time,"."); \
 
print "echo -ne \"" intro[1] " " time[1] "\t" $6 "\t" (hits[2]) \
 
print "echo -ne \"" intro[1] " " time[1] "\t" $6 "\t" (hits[2]) \
 
"\tFrom: " gensub("[<>]","","g",$4) \
 
"\tFrom: " gensub("[<>]","","g",$4) \

Navigation menu