diff options
-rw-r--r-- | ChangeLog | 1 | ||||
-rw-r--r-- | scripts/clamsmtpd.sh | 14 |
2 files changed, 5 insertions, 10 deletions
@@ -1,6 +1,7 @@ 0.8 - clamsmtpd now uses a configuration file - Compile option -Wall only enabled on debug builds + - Sample script changed due to configuartion file 0.7 - Added support for ESMTP [Andreas Steinmetz] diff --git a/scripts/clamsmtpd.sh b/scripts/clamsmtpd.sh index c574e8b..0b7efe4 100644 --- a/scripts/clamsmtpd.sh +++ b/scripts/clamsmtpd.sh @@ -3,11 +3,9 @@ ########################################################################### # CONFIGURATION -# The outgoing SMTP server (CHANGE THIS) -smtp=mysmtp.com:25 - -# Directory for temporary files (CHANGE THIS) -tmpdir=/var/tmp +# Most configuration options are found in the clamsmtpd.conf file. +# For more info see: +# man clamsmtpd.conf # The user to run as user=clamav @@ -18,10 +16,6 @@ prefix=/usr/local/ # The location for pid file piddir=/var/run/clamav/ -# The clamd socket -clamsock=/var/run/clamav/clamd - - ########################################################################### # SCRIPT @@ -29,7 +23,7 @@ case $1 in start) mkdir -p $piddir chown $user $piddir - su -m $user -c "$prefix/sbin/clamsmtpd -c $clamsock -D $tmpdir -p $piddir/clamsmtpd.pid $smtp" + su -m $user -c "$prefix/sbin/clamsmtpd -p $piddir/clamsmtpd.pid" echo -n "clam-smtpd " ;; stop) |