# Config file for /etc/init.d/clamsmtpd ## This variable must be uncommented in order for the server to start ## IS_CONFIGURED="no" # The outgoing SMTP server SMTP_SERVER="127.0.0.1:10026" # The clamd socket # CLAMSOCK="-c /var/run/clamav/clamd" CLAMSOCK="-c /tmp/clamd" # User clamd is running as CLAMUSER="clamav" # Change this if you're behind a firewall and want to accept # connections from other mail servers LISTENADDR="-l 127.0.0.1:10025" # Temporary directory to use TEMPDIR="/tmp/clamav" # Add these to MISC_OPTS as needed # -b [ Reject infected messages (not recommended) ] # -h [ header to add to scanned messages (default is 'X-AV-Checked: ClamAV using ClamSMTP'] # -m [ specifies the maximum number of connections to accept at once (default is 64) ] # -q [ Quarantine files that contain viruses by leaving them in the tmpdir directory. ] # -t [ timeout is the number of seconds to wait while reading data from net connections (default is 180 seconds) ] MISC_OPTS="" CLAMSMTPD_OPTS="-D ${TEMPDIR} ${CLAMSOCK} ${LISTENADDR} ${MISC_OPTS} ${SMTP_SERVER}"