# This is a sample config file to KAV Milter - integration program # to check mail by Kaspersky Antivirus, coming through sendmail # All lines, starting with '#' char, marks as conmment and ignores # Sendmail Pipe. This parameter specifies pipe to use with sendmail. # To approproate change this parameter, you MUST change it also in sendmail.mc # This parameter can be changed by -c (--sendmail) commandline parameter SendmailPipe = /var/run/kavmilter # KAV Pipe. This papameter specifies pipe to use with KAV Daemon. # To appropriate change thia parameter you MUST change it also in # KAV daemon starting script or command line. This parameter can be # changed by -s (--KAV-socket) commandline parameter KAVPipe = /usr/local/avpbsd/avprun/AvpCtl # PID File. This papameter specifies location and filename of file, which # will keep PID file numner to further batch processing. This parameter # can be changed by -P (--pidfile) commandline parameter PIDFile = /var/run/kavmilter.pid # Temp directory. This parameter specifiles a directory, which will keep # temporary files in time check it by KAV daemon. This directory must # have permissioms for KAV Daemon to read and write. For appropriate changes # this parameter you MUST also changed KAV daemon starting script or # commandline. This parameter can be changed by -p (--tmpdir) commandline # parameter. TempDirectory = /usr/local/avpbsd/avprun # KAV response timeout. This parameter specifies how many seconds will filter # waits response from KAV Daemon, when mail passes to check. When timeout is # expired, but KAV doesn't respond, initiated abnormal termination. On # powerful boxes you can shrink it, on old and weak - expand. This parameter # can be changed by -T (--KAV_timeout) commandline parameter. Keep in mind # - this is a timeout to connect filter with KAV, nor sendmail! KAVTimeout = 60 # Sendmail response timeout. This parameter specifies how many seconds will # sendmail waits for filter's response about check result. This time filter # should contact with KAV, send mail to check, receive response, and get # response about mail to sendmail. This is a reason to set this parameter # relatively large. When timeout is expired, abnormal termination initiated, # we can see in mail log messages with 4.7.1 code "Please try again later". # So, this parameter should be relatively large, for powerful boxes it can # be shrinked, for weak - expanded. This parameter can be changed by # -t (--sendmail-timeout) commandline parameter. SendmailTimeout = 300 # Debug level. This parameter specifies debug level, when filter is working. # Smaller value assumed smaller level of debug. To list events, occuring # at each level, see man kavmilter(8). This parameter can be changed by # -D (--debug) commandline parameter DebugLevel = 0 # Daemon mode. This parameter controls a behavior of filter - when set, filter # goes in background daemon mode, when unset - keep working in foreground. # It is very useful for debugging. This parameter can be changed by # -d (--daemon) commandline parameter. All values, other than 'yes' will be # interpreted as 'no'. DaemonMode = yes # Action with infected mail. This parameter controls a behavior of filter with # infected mail - when set to 'discard' infected mail will silently discarded, when # set to 'reject' infected mail will be rejected with 554 5.7.1 reply code. This # parameter can be changed by -m (--mode) commandline parameter. All values, other # than 'reject', will be interpreted as 'discard'. InfectedAction = discard