filter-clamav(8) smtpd filter for Clam AntiVirus clamd

SYNOPSIS

DESCRIPTION

is a filter for smtpd(8) which can be used to filter mails based on the decision from Clam AntiVirus's clamd(8) daemon. Mails are piped to the daemon, which scans the mail for viruses.

Mails which contain a virus are rejected with a SMTP 554 reply. Non-virus mails are accepted.

CLAM ANTIVIRUS CONFIGURATION

expects that Clam AntiVirus's clamd(1) to listen on 127.0.0.1 port 3310 for incoming requests. This requires to uncomment the TCPAddr and TCPSocket option in the default configuration of the daemon.

HISTORY

The first version of was written in 2015.

AUTHORS

An Joerg Jung Aq Mt [email protected]