Provided by: opensmtpd-extras_5.7.1-1build1_i386 bug

NAME

     filter-clamav — smtpd filter for Clam AntiVirus clamd

SYNOPSIS

     filter-clamav

DESCRIPTION

     filter-clamav 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

     filter-clamav 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.

SEE ALSO

     filter_api(3), smtpd.conf(5), smtpd(8), clamd(8)

HISTORY

     The first version of filter-clamav was written in 2015.

AUTHORS

     Joerg Jung ⟨jung@openbsd.org