I would like to report a bug. Maia does not scan rar attachments. It seems that it is a version of unrar, which has a different syntax. MAIA pass anything wrapped in RAR without antivirus check and banned EXE files. When I set the file maiad.conf $unrar = '/usr/local/bin/unrar v -c- -p- --'; then MAIA checked rar properly. OS: FreeBSD 9.3-RELEASE-p39 Version ports: maia-1.0.4, unrar-5.31,5, clamav-0.99.1
Reporting this upstream to the code maintainer to verify if this effects other OSes or is FBSD specific. If FBSD specific, I'll patch it. If not, this should be fixed upstream.
Created attachment 174098 [details] Patch to make unrar work correctly.
Committed, thanks!
A commit references this bug: Author: pi Date: Tue Nov 8 18:40:53 UTC 2016 New revision: 425757 URL: https://svnweb.freebsd.org/changeset/ports/425757 Log: security/maia: fix to scan rar attachments PR: 210138 Submitted by: ek@purplehat.org (maintainer) Reported by: stepan@zabreh.cz Changes: head/security/maia/Makefile