summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSeemant Kulleen <seemant@gentoo.org>2004-06-03 07:33:38 +0000
committerSeemant Kulleen <seemant@gentoo.org>2004-06-03 07:33:38 +0000
commit4f1ce8fcbd38f0bb8c6de285655cccffe050ba2d (patch)
treea5962b581a9129d36c9a9f6754363a022efd9a18 /mail-filter/spampd/files
parentMoving to mail-filter/spampd (diff)
downloadhistorical-4f1ce8fcbd38f0bb8c6de285655cccffe050ba2d.tar.gz
historical-4f1ce8fcbd38f0bb8c6de285655cccffe050ba2d.tar.bz2
historical-4f1ce8fcbd38f0bb8c6de285655cccffe050ba2d.zip
Moved from net-mail/spampd to mail-filter/spampd.
Diffstat (limited to 'mail-filter/spampd/files')
-rw-r--r--mail-filter/spampd/files/conf15
-rw-r--r--mail-filter/spampd/files/digest-spampd-2.111
-rw-r--r--mail-filter/spampd/files/digest-spampd-2.11-r11
-rw-r--r--mail-filter/spampd/files/init24
4 files changed, 41 insertions, 0 deletions
diff --git a/mail-filter/spampd/files/conf b/mail-filter/spampd/files/conf
new file mode 100644
index 000000000000..64abe21dd1b0
--- /dev/null
+++ b/mail-filter/spampd/files/conf
@@ -0,0 +1,15 @@
+# This is the configuration file that /etc/init.d/spampd sources when
+# started.
+
+# SPAMPD_OPTS defines the command-line arguments to be passed to the
+# spampd daemon upon start-up. A complete list of options can be
+# found in the documentation, or by issuing the command
+# "/usr/sbin/spampd --help"
+
+SPAMPD_OPTS="--host=localhost:10025 --relayhost=localhost:10026 --tagall"
+
+# Note: (from the Installation section in the spampd documentation)
+# "Note that spampd replaces spamd from the SpamAssassin distribution
+# in function. You do not need to run spamd in order for spampd to
+# work. This has apparently been the source of some confusion, so now
+# you know."
diff --git a/mail-filter/spampd/files/digest-spampd-2.11 b/mail-filter/spampd/files/digest-spampd-2.11
new file mode 100644
index 000000000000..32106a4b7529
--- /dev/null
+++ b/mail-filter/spampd/files/digest-spampd-2.11
@@ -0,0 +1 @@
+MD5 5f697879767ce39a24981030ce5c6c5c spampd-2.11.tar.gz 28401
diff --git a/mail-filter/spampd/files/digest-spampd-2.11-r1 b/mail-filter/spampd/files/digest-spampd-2.11-r1
new file mode 100644
index 000000000000..32106a4b7529
--- /dev/null
+++ b/mail-filter/spampd/files/digest-spampd-2.11-r1
@@ -0,0 +1 @@
+MD5 5f697879767ce39a24981030ce5c6c5c spampd-2.11.tar.gz 28401
diff --git a/mail-filter/spampd/files/init b/mail-filter/spampd/files/init
new file mode 100644
index 000000000000..b073854e8ced
--- /dev/null
+++ b/mail-filter/spampd/files/init
@@ -0,0 +1,24 @@
+#!/sbin/runscript
+# Copyright 1999-2004 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/mail-filter/spampd/files/init,v 1.1 2004/06/03 07:33:38 seemant Exp $
+
+# Note: spampd configuration file is /etc/conf.d/spampd
+
+depend() {
+ need net
+}
+
+start() {
+ ebegin "Starting spampd"
+ start-stop-daemon --start --quiet \
+ --exec /usr/sbin/spampd -- --pid=/var/run/spampd.pid \
+ ${SPAMPD_OPTS}
+ eend $? "Failed to start spampd"
+}
+
+stop() {
+ ebegin "Stopping spampd"
+ start-stop-daemon --stop --quiet --pidfile /var/run/spampd.pid
+ eend $? "Failed to stop spampd"
+}