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.
A commit references this bug:
Date: Tue Nov 8 18:40:53 UTC 2016
New revision: 425757
security/maia: fix to scan rar attachments
Submitted by: firstname.lastname@example.org (maintainer)
Reported by: email@example.com