]>
Commit | Line | Data |
---|---|---|
2abf9581 ER |
1 | --- mailgraph-1.14/mailgraph.pl~ 2010-07-13 10:37:45.000000000 +0300 |
2 | +++ mailgraph-1.14/mailgraph.pl 2010-07-13 10:38:21.711839978 +0300 | |
3 | @@ -821,12 +821,11 @@ | |
4 | event($time, 'virus'); | |
5 | } | |
6 | } | |
7 | - # uncommment for clamassassin: | |
8 | - #elsif($prog eq 'clamd') { | |
9 | - # if($text =~ /^stream: .* FOUND$/) { | |
10 | - # event($time, 'virus'); | |
11 | - # } | |
12 | - #} | |
13 | + elsif($prog eq 'clamd') { | |
14 | + if($text =~ /^stream: .* FOUND$/) { | |
15 | + event($time, 'virus'); | |
16 | + } | |
17 | + } | |
18 | elsif ($prog eq 'smtp-vilter') { | |
19 | if ($text =~ /clamd: found/) { | |
20 | event($time, 'virus'); |