Mimedefang - ClamAV statistical data?

Fred de Brouwer <[email protected]> Wed, 13 Sep 2017 20:33:44 +0200
Newsgroups gmane.mail.mimedefang
Message-ID <[email protected]>
Dear mailing list members,


Our Mimedefang environment consists of the following:
- ClamAV [clamd].
- SpamAssassin including a module:  Stats.pm.
	https://wiki.apache.org/spamassassin/StatsPlugin

In the section filter_begin the Virus-scan is performed and when virus/malware is detected it is bounced using:
- return action_bounce("Virus $VirusName detected/not accepted here”);

The Stats.pm module stores statistical data based on the SpamAssassin score in a database and because the Antivirus scan is performed separately from SpamAssassin the statistics module does not ‘know’ the Antivirus-scan outcome and as such no statistical data is stored. I would like to add statistical data from the VirusScanner as well and if possible to use the Stats.PM module directly from within Mimedefang.


* The question I have:
Has someone successfully used such a module directly from within Mimedefang?
Maybe some coding example or some other idea when applicable?


Any help would be much appreciated.

Kind regards
 Fred de Brouwer


_______________________________________________
NOTE: If there is a disclaimer or other legal boilerplate in the above
message, it is NULL AND VOID.  You may ignore it.

Visit http://www.mimedefang.org and http://www.roaringpenguin.com
MIMEDefang mailing list [email protected]
http://lists.roaringpenguin.com/mailman/listinfo/mimedefang