diff options
author | Stef Walter <stef@memberwebs.com> | 2004-09-03 03:11:33 +0000 |
---|---|---|
committer | Stef Walter <stef@memberwebs.com> | 2004-09-03 03:11:33 +0000 |
commit | 41fb71cfe854713a1fc8b96bc794fdd9a30238d4 (patch) | |
tree | 8f96bd29388b09496e3f4222c55ea30688ce9176 /scripts | |
parent | 5ffcde771f80f20d560180a631bf0b9aa363b318 (diff) |
Change sample script
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) |