Perm Block problem
Posted: 17 Apr 2017, 18:28
can anyone help me, i want block it for max 24h not perm.. but it even block it perm
# test for relay
if (($globlogs{CUSTOM2_LOG}{$lgfile}) and ($line =~ /reject(.*)\[(\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3})\](.*)\<(\S+)\> (.*)\>/)) {
return ("Failed Relay_check from IP: $2 to: $4",$2,"LF_SMTPAUTH","2","25,143,110,465,993,995","3600");
}
big thx to all my head smokes xd
# test for relay
if (($globlogs{CUSTOM2_LOG}{$lgfile}) and ($line =~ /reject(.*)\[(\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3})\](.*)\<(\S+)\> (.*)\>/)) {
return ("Failed Relay_check from IP: $2 to: $4",$2,"LF_SMTPAUTH","2","25,143,110,465,993,995","3600");
}
big thx to all my head smokes xd