Bug 1131703

Summary: no virus count with clam-avmilter
Product: [Fedora] Fedora Reporter: Harald Reindl <h.reindl>
Component: mailgraphAssignee: Bernard Johnson <bjohnson>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 20CC: bjohnson
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-09-15 04:19:30 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Harald Reindl 2014-08-19 20:57:00 UTC
i tried to look at the source, sadly no perl programmer

that looks in general wrong because the process is postfix/cleanup
since it relies on prgram names as it looks also my fake below
is not recognized by change /etc/mail/clamav-milter.conf to:
RejectMsg Virus found: "%v"

elsif($prog eq 'clamav-milter') 
{
 if($text =~ /Intercepted/) 
 {
  event($time, 'virus');
 }
}

Aug 19 22:40:24 mail-gw postfix/cleanup[307]: 3hd3sh1SXpzyPX: milter-reject: END-OF-MESSAGE from *.*.*.*[*.*.*.*]: 5.7.1 Virus found: "Trojan.FakeTimer"; from=<**> to=<**> proto=ESMTP helo=<**>

Comment 1 Bernard Johnson 2014-09-15 04:19:30 UTC

*** This bug has been marked as a duplicate of bug 1133356 ***