I have several servers running myVesta. Clamav is installed and running on all of them.
However, I keep receiving spam e-mails in inbox with viruses in attachments(.gz .xlsx, .cab).
I expected these e-mails to be blocked or moved to spam folder when Clamav scans them.
The second problem is that webpages in myVesta cp for clamav config are not present (clamav-daemon, clamav-freshclam).
Can you please also add these pages.
And thank you very much for all the hard work that you do with myVesta.
clamav problems
- myVesta
- Site Admin
- Posts: 962
- Joined: Fri Jun 19, 2020 9:59 am
- Has thanked: 10 times
- Been thanked: 6 times
You can block those extensions in /etc/exim4/exim4.conf.template
https://github.com/myvesta/vesta/blob/m ... plate#L229
Code: Select all
condition = ${if match {${lc:$mime_filename}}{\N(\.ade|\.adp|\.bat|\.chm|\.cmd|\.com|\.cpl|\.exe|\.hta|\.ins|\.isp|\.jse|\.lib|\.lnk|\.mde|\.msc|\.msp|\.mst|\.pif|\.scr|\.sct|\.shb|\.sys|\.vb|\.vbe|\.vbs|\.vxd|\.wsc|\.wsf|\.wsh|\.jar)$\N}{1}{0}}