Opnsense is a better UTM than Mikrotik, but it uses ClamAV and obviously encrypted connections can not be scanned anyway.If you want to scan mails, the best solution is to use OPNSense as your MX with postfix and rspamd / clamav.