Hello guys. I have an issue, and I couldn't find a solution on the forum. ClamAV is not scanning emails, and there is no ClamAV check in the Tracking Center logs. I sent test emails to myself to check the antivirus, but PMG doesn't scan them and lets them pass - https://www.aleph-tec.com/eicar/index.php:
I haven't changed PMG settings; everything is set to default. In the server console, ClamAV scans folders without errors. The /var/log/clamav/clamav.log is empty in the logs.
Package versions:
Code:
2023-10-10T15:32:16.398622+03:00 pmg postfix/smtpd[984418]: connect from batch.outbound.your-site.com[205.233.73.32]
2023-10-10T15:32:18.039123+03:00 pmg postfix/smtpd[984418]: 097AD123029: client=batch.outbound.your-site.com[205.233.73.32]
2023-10-10T15:32:18.193684+03:00 pmg postfix/cleanup[984444]: 097AD123029: message-id=<202310101231.39ACVbfp224576@1098a9d7e562.web.vm.your-site.com>
2023-10-10T15:32:18.195485+03:00 pmg postfix/qmgr[781]: 097AD123029: from=<eicar@aleph-tec.com>, size=3152, nrcpt=1 (queue active)
2023-10-10T15:32:18.195582+03:00 pmg postfix/smtpd[984418]: disconnect from batch.outbound.your-site.com[205.233.73.32] ehlo=1 mail=1 rcpt=1 data=1 quit=1 commands=5
2023-10-10T15:32:18.257901+03:00 pmg pmg-smtp-filter[981077]: 12302B652544523DB0F: new mail message-id=<202310101231.39ACVbfp224576@1098a9d7e562.web.vm.your-site.com>#012
2023-10-10T15:32:19.674809+03:00 pmg pmg-smtp-filter[981077]: 12302B652544523DB0F: SA score=0/5 time=1.382 bayes=undefined autolearn=disabled hits=DKIM_INVALID(0.1),DKIM_SIGNED(0.1),DMARC_MISSING(0.1),KAM_DMARC_STATUS(0.01),RCVD_IN_DNSWL_HI(-5),SPF_HELO_PASS(-0.001),SPF_PASS(-0.001)
2023-10-10T15:32:19.694231+03:00 pmg postfix/smtpd[984475]: connect from localhost.localdomain[127.0.0.1]
2023-10-10T15:32:19.695725+03:00 pmg postfix/smtpd[984475]: A9D3512302E: client=localhost.localdomain[127.0.0.1], orig_client=batch.outbound.your-site.com[205.233.73.32]
2023-10-10T15:32:19.740374+03:00 pmg postfix/cleanup[984444]: A9D3512302E: message-id=<202310101231.39ACVbfp224576@1098a9d7e562.web.vm.your-site.com>
2023-10-10T15:32:19.747903+03:00 pmg postfix/qmgr[781]: A9D3512302E: from=<eicar@aleph-tec.com>, size=3913, nrcpt=1 (queue active)
2023-10-10T15:32:19.748101+03:00 pmg postfix/smtpd[984475]: disconnect from localhost.localdomain[127.0.0.1] ehlo=1 xforward=1 mail=1 rcpt=1 data=1 commands=5
2023-10-10T15:32:19.748537+03:00 pmg pmg-smtp-filter[981077]: 12302B652544523DB0F: accept mail to <aleksandr.polivaniy@metrans.com.ua> (A9D3512302E) (rule: default-accept)
2023-10-10T15:32:19.750944+03:00 pmg pmg-smtp-filter[981077]: 12302B652544523DB0F: processing time: 1.495 seconds (1.382, 0.031, 0)
2023-10-10T15:32:19.751319+03:00 pmg postfix/lmtp[984446]: 097AD123029: to=<aleksandr.polivaniy@metrans.com.ua>, relay=127.0.0.1[127.0.0.1]:10024, delay=3, delays=1.5/0.01/0.05/1.5, dsn=2.5.0, status=sent (250 2.5.0 OK (12302B652544523DB0F))
2023-10-10T15:32:19.751479+03:00 pmg postfix/qmgr[781]: 097AD123029: removed
2023-10-10T15:32:20.865826+03:00 pmg postfix/smtp[984478]: A9D3512302E: to=<aleksandr.polivaniy@metrans.com.ua>, relay=192.168.31.120[192.168.31.120]:25, delay=1.2, delays=0.05/0.01/0/1.1, dsn=2.0.0, status=sent (250 11452242 message accepted for delivery)
2023-10-10T15:32:20.865929+03:00 pmg postfix/qmgr[781]: A9D3512302E: removed
Package versions:
Code:
()
proxmox-mailgateway: 8.0.1
pmg-api: 8.0.7
pmg-gui: 4.0.2
pve-kernel-6.2: 8.0.5
proxmox-kernel-helper: 8.0.3
proxmox-kernel-6.2.16-15-pve: 6.2.16-15
proxmox-kernel-6.2: 6.2.16-15
pve-kernel-6.2.16-3-pve: 6.2.16-3
clamav-daemon: 1.0.3+dfsg-1~deb12u1
ifupdown2: 3.2.0-1+pmx5
libarchive-perl: 3.6.2
libjs-extjs: 7.0.0-4
libjs-framework7: 4.4.7-2
libproxmox-acme-perl: 1.4.6
libproxmox-acme-plugins: 1.4.6
libpve-apiclient-perl: 3.3.0
libpve-common-perl: 8.0.9
libpve-http-server-perl: 5.0.4
libxdgmime-perl: 1.1.0
lvm2: 2.03.16-2
pmg-docs: 8.0.1
pmg-i18n: 3.0.7
pmg-log-tracker: 2.4.1
proxmox-mini-journalreader: 1.4.0
proxmox-offline-mirror-helper: 0.6.2
proxmox-spamassassin: 4.0.0-4
proxmox-widget-toolkit: 4.0.9
pve-firmware: 3.8-2
pve-xtermjs: 4.16.0-3
zfsutils-linux: 2.1.13-pve1