Amavis gives you an interface between mail servers (MTAs such as Postfix or DoveCot) and mail filters (ClamAV, SpamAssassin). In many cases it is more efficient than running separate daemons like spamd.
Install & Setup
BuildAUR from the AUR and install it with pacman. You'd be wise to also install optdepends such as and so your filters can actually see inside compressed files.
sudo pacman -U amavisd-new-*-any.pkg.tar.xz sudo pacman -Syu p7zip unrar
If your hostname is not a FQDN, you must set $myhostname in /etc/amavisd/amavisd.conf. You probably want to set $mydomain too. After that, you probably want to start it like this:
sudo systemctl enable amavisd sudo systemctl start amavisd
Some ways to check for errors:
systemctl status amavisd journalctl -xbo short -u amavisd
digest of the excellent upstream README