if ARGV[0] == nil then
puts "SYNTAX: smtp_errors.rb "
exit
end
log = ARGV[0]
offenders = Hash.new(0)
File.open(log,"r").each do |line|
if line =~ /SMTP error/ then
addy = line ...
↧