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

Volker1

Well-Known Member
May 6, 2019
31
0
46
60
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: