diff options
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/clamsmtpd.sh | 14 |
1 files changed, 4 insertions, 10 deletions
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) |