Order of multiple AV scanners for pmg-smtp-filter in a row.

Volker1

Well-Known Member
May 6, 2019
31
0
46
59
I configured PMG to use ClamAV and Avast and Eset over pmg-custom-check in a row. It seems that all three scanners are used:
top | grep 'clamd\|avast\|eset'
994 avast 20 0 472844 92316 40232 S 0.3 1.5 0:05.75 avast
8457 eset-ef+ 20 0 926228 229656 22348 S 0.3 3.8 0:34.66 scand
8468 eset-ef+ 20 0 324860 18132 13676 S 0.3 0.3 0:00.59 confd
994 avast 20 0 472844 92316 40232 S 0.3 1.5 0:05.76 avast
8457 eset-ef+ 20 0 926228 229656 22348 S 0.3 3.8 0:34.67 scand
8457 eset-ef+ 20 0 926228 229656 22348 S 0.3 3.8 0:34.68 scand
8457 eset-ef+ 20 0 926228 229656 22348 S 1.0 3.8 0:34.74 scand
1739 clamav 20 0 1809884 457392 7892 S 0.7 7.5 1:32.06 clamd
8457 eset-ef+ 20 0 926228 229656 22348 S 0.3 3.8 0:34.75 scand
8457 eset-ef+ 20 0 926228 229656 22348 S 0.3 3.8 0:34.76 scand

In which sequence they are called? Is there a way to make detailed logging to syslog for the activities of ClamAV and Avast during scanning?

Edit:
I found it by my own.
First, the custom scan script is executed.
Then Avast is execuded and then ClamAV.
 
Last edited:

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!