This is part 10 in the Ubuntu mail server from scratch tutorial series. In this article, I will show you how to use Amavis and ClamAV to scan viruses in email messages.
Amavis (A Mail Virus Scanner) is a high-performance interface between a message transfer agent (MTA) such as Postfix and content filters. A content filter is a program that scans the headers and body of an email message, and usually takes some action based on what it finds. The most common examples are ClamAV virus scanner and SpamAssassin.
Amavis speaks standard SMTP protocol and can also use the Sendmail milter interface. It’s commonly used for
- virus-scanning by integrating with ClamAV (Clam AntiVirus)
- spam-checking by integrating with SpamAssassin
- DKIM signing and verification. (Actually, I prefer to use OpenDKIM to do DKIM signing and verification.)
Read full tutorial here: https://www.linuxbabe.com/mail-server/postfix-amavis-spamassassin-clamav-ubuntu