Changeset 628


Ignore:
Timestamp:
Oct 18, 2011, 3:33:20 PM (9 years ago)
Author:
ben
Message:

virus infos, see #28

File:
1 edited

Legend:

Unmodified
Added
Removed
  • postfix-logtools/poststat/poststat

    r626 r628  
    5858  mi_spam            => 0,
    5959  mi_unsure          => 0,
     60  mi_vir_amav        => 0,
     61  mi_vir_milt        => 0,
    6062  mo_delivered       => 0,
    6163  me_no_target       => 0,
     
    9092      }
    9193  }
    92   $stat{mi_deliver}++,               next if /deliver\(.* mail /;
     94  $stat{mi_deliver}++,          next if /deliver\(.* mail /;
     95
     96  # virus with amavis
     97  $stat{mi_vir_amav}++,         next if / amavis.*quarantine: .*virus-/;
    9398
    9499  next if !s/.* postfix\/(.*?)\[\d+\]: //;
     
    150155  }
    151156
     157  if ($prog eq 'cleanup') {
     158    # virus with milter
     159    $stat{mi_vir_milt}++,        next if / virus found: /;
     160
     161    next;
     162  }
     163
    152164  # FIXME Did never match in tests
    153165  if ($prog eq 'virtual') {
Note: See TracChangeset for help on using the changeset viewer.