clamscan throws "LibClamAV Warning: Unsupported message format `global-headers'" when scanning e.g. the exim4 binary from recent releases.
When running clamscan as cronjob, and such STDERR warnings produce disruptive rootmail noise.
For example on my current Ubuntu Focal:
$ apt download exim4-daemon-light
Get:1 http://gb.archive.ubuntu.com/ubuntu focal-updates/main amd64 exim4-daemon-light amd64 4.93-13ubuntu1.5 [534 kB]
Fetched 534 kB in 0s (3,220 kB/s)
$ ar x exim4-daemon-light_4.93-13ubuntu1.5_amd64.deb
$ tar xf data.tar.xz
$ clamscan ./usr/sbin/exim4
LibClamAV Warning: Unsupported message format `global' - if you believe this file contains a virus, submit it to www.clamav.net
Using clamav 0.103.2+dfsg-0ubuntu0.20.04 on Ubuntu 20.04.3
clamscan throws "LibClamAV Warning: Unsupported message format `global-headers'" when scanning e.g. the exim4 binary from recent releases.
When running clamscan as cronjob, and such STDERR warnings produce disruptive rootmail noise.
For example on my current Ubuntu Focal:
$ apt download exim4-daemon-light gb.archive. ubuntu. com/ubuntu focal-updates/main amd64 exim4-daemon-light amd64 4.93-13ubuntu1.5 [534 kB] light_4. 93-13ubuntu1. 5_amd64. deb
Get:1 http://
Fetched 534 kB in 0s (3,220 kB/s)
$ ar x exim4-daemon-
$ tar xf data.tar.xz
$ clamscan ./usr/sbin/exim4
LibClamAV Warning: Unsupported message format `global' - if you believe this file contains a virus, submit it to www.clamav.net
Using clamav 0.103.2+ dfsg-0ubuntu0. 20.04 on Ubuntu 20.04.3