summaryrefslogtreecommitdiff
path: root/mail/clamsmtp/files
diff options
context:
space:
mode:
authorxtraeme <xtraeme>2004-09-21 10:16:05 +0000
committerxtraeme <xtraeme>2004-09-21 10:16:05 +0000
commit72e9544b216bca138991024b3a57781619085824 (patch)
tree40f6fb5e79a4cc7301f424727ad317d021eed20c /mail/clamsmtp/files
parent9780ae95dae8c6606dc4900919c2f5609269fbe1 (diff)
downloadpkgsrc-72e9544b216bca138991024b3a57781619085824.tar.gz
Update mail/clamsmtp to 0.8.
Changes: 0.8 - clamsmtpd now uses a configuration file - Transparent proxy support [Andreas Steinmetz] - Compile option -Wall only enabled on debug builds - Sample script changed due to configuartion file - Fixed other minor bugs
Diffstat (limited to 'mail/clamsmtp/files')
-rw-r--r--mail/clamsmtp/files/clamsmtpd.sh6
1 files changed, 2 insertions, 4 deletions
diff --git a/mail/clamsmtp/files/clamsmtpd.sh b/mail/clamsmtp/files/clamsmtpd.sh
index 1a7488e7ce3..d9526f7d316 100644
--- a/mail/clamsmtp/files/clamsmtpd.sh
+++ b/mail/clamsmtp/files/clamsmtpd.sh
@@ -1,6 +1,6 @@
#!@RCD_SCRIPTS_SHELL@
#
-# $NetBSD: clamsmtpd.sh,v 1.3 2004/08/04 06:50:16 jlam Exp $
+# $NetBSD: clamsmtpd.sh,v 1.4 2004/09/21 10:16:05 xtraeme Exp $
#
# PROVIDE: clamsmtpd
# REQUIRE: LOGIN clamd
@@ -26,7 +26,6 @@ name="clamsmtpd"
rcvar=$name
command="@PREFIX@/sbin/${name}"
pidfile=/var/run/clamsmtpd.pid
-: ${clamsmtpd_addr="localhost:10026"}
start_precmd="clamsmtpd_prestart"
start_cmd="clamsmtpd_start"
@@ -39,7 +38,6 @@ if [ -f "${clamav_conffile}" ]; then
: ${clamsmtpd_user=`@AWK@ 'BEGIN {r = "@CLAMAV_USER@"};
/^#/ {next}; /^User[ ]/ {r = $2};
END {print r}' ${clamav_conffile}`}
- : ${clamsmtpd_flags="-c ${socket}"}
else
: ${clamsmtpd_user="@CLAMAV_USER@"}
fi
@@ -53,7 +51,7 @@ clamsmtpd_prestart()
clamsmtpd_start()
{
@ECHO@ "Starting ${name}."
- doit="${command} ${clamsmtpd_flags} -p ${pidfile} ${clamsmtpd_addr}"
+ doit="${command} ${clamsmtpd_flags} -p ${pidfile}"
@SU@ -m ${clamsmtpd_user} -c "$doit"
}