# $Id: clamd.conf,v 1.13 2007/01/16 14:57:39 mbalmer Exp $

# Configuration for the smtp-vilter Clam AntiVirus Daemon backend
#
# Host to connect to

host=localhost

# Optionally bind to a specific address on this machine
# bind=localhost

# clamd engine port

port=3310

# If a local socket is defined, it will be used instead of the host/port

local-socket=/tmp/clamd

# How many times should a connection be retried?
#
# There is a delay of one second between tries.  Be careful not to set this
# value higher as your milter timeout value in your sendmail configuration or
# you will experience strange timeout errors if the scanning engine is not
# reachable.

tries=2

# Timeout value for communication with the clamd daemon.  If nothing is
# specified, assume a default of 60 seconds.
#
# A value of 0 means no timeout

timeout=10

# Define a scanning type
#
# filesystem:  Do a file system scan
# socket:      Transfer mail message on a socket (if clamd is
#              remote, e.g.)
# fildes:      Pass the filedscriptor only to clamd

scantype=filesystem

# Optional settings
#
# chroot_scanrealpath:  If smtp-vilter runs chrooted and uses scantype
# filesystem, present the real path to clamd instead of the path within the
# chroot jail.

option=chroot-scanrealpath
