Based on https://forums.cpanel.net/threads/reject-emails-with-zip-files-containing-exe-files.333101/
Find clamav database directory, on Debian/Ubuntu it is /var/lib/clamav
Create file with arbitrary filename, give it .cdb
extension.
Give it proper user and group ownership, on Debian/Ubuntu clamav:clamav
.
Paste the following content:
Archived_EXE:*:*:.*\.exe:*:*:*:*:*:*
Archived_SCR:*:*:.*\.scr:*:*:*:*:*:*
Archived_PIF:*:*:.*\.pif:*:*:*:*:*:*
Archived_COM:*:*:.*\.com:*:*:*:*:*:*