summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStef Walter <stef@memberwebs.com>2004-09-03 03:11:33 +0000
committerStef Walter <stef@memberwebs.com>2004-09-03 03:11:33 +0000
commit41fb71cfe854713a1fc8b96bc794fdd9a30238d4 (patch)
tree8f96bd29388b09496e3f4222c55ea30688ce9176
parent5ffcde771f80f20d560180a631bf0b9aa363b318 (diff)
Change sample script
-rw-r--r--ChangeLog1
-rw-r--r--scripts/clamsmtpd.sh14
2 files changed, 5 insertions, 10 deletions
diff --git a/ChangeLog b/ChangeLog
index b844b23..c7689d4 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -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)