First of all you need to install the needed packages: apt-get install clamassassin clamav clamav-freshclam clamav-daemon clamav-base Supposing that you use maildrop, you just have to edit the file /etc/courier/maildroprc as follows: exception { xfilter "/usr/bin/clamassassin" if (/^X-Virus-Status: Yes/) { to /dev/null } } E-mails passed to maildrop will so directly be deleted if they're […]