summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Mair-Keimberger <m.mairkeimberger@gmail.com>2017-09-06 18:35:00 +0200
committerMichael Orlitzky <mjo@gentoo.org>2017-09-06 13:26:58 -0400
commitbbce59d3a81609bfbc1048656b005fc84a32c142 (patch)
tree1d480b042d00ff2c54b5e4dac13d2c6228c06cd1 /mail-filter
parentnet-dns/djbdns: remove unused patches (diff)
downloadgentoo-bbce59d3a81609bfbc1048656b005fc84a32c142.tar.gz
gentoo-bbce59d3a81609bfbc1048656b005fc84a32c142.tar.bz2
gentoo-bbce59d3a81609bfbc1048656b005fc84a32c142.zip
mail-filter/spamassassin: remove unused files
Signed-off-by: Michael Orlitzky <mjo@gentoo.org>
Diffstat (limited to 'mail-filter')
-rw-r--r--mail-filter/spamassassin/files/3.0.0-spamd.conf46
-rw-r--r--mail-filter/spamassassin/files/3.3.1-spamd.init45
2 files changed, 0 insertions, 91 deletions
diff --git a/mail-filter/spamassassin/files/3.0.0-spamd.conf b/mail-filter/spamassassin/files/3.0.0-spamd.conf
deleted file mode 100644
index b3cd1acd8fa3..000000000000
--- a/mail-filter/spamassassin/files/3.0.0-spamd.conf
+++ /dev/null
@@ -1,46 +0,0 @@
-# Config file for /etc/init.d/spamd
-
-
-# ***WARNING***
-# spamd was not designed to listed to an untrusted network. spamd
-# is vulnerable to DoS attacks (and eternal doom) if used to listen
-# to an untrusted network.
-#
-
-
-# Some options:
-#
-# -c to create a per user configuration file
-# -H [dir] to switch home dirs for helper apps, dir optional
-# -i [ip] to listen on the specified IP,
-# 127.0.0.1 if omitted,
-# 0.0.0.0 (ie. all) if given without value;
-# must be used in combination with -A to actually allow
-# connections from anybody but localhost
-# -m limit to set the number of children, default 5
-# -u user the user to run spamd as
-# -L if you want to run no net tests
-#
-# for more help look in man spamd
-#
-# Note: if you plan on using the -u flag to spamd you will need to
-# make sure the location of the PID file is writable by that user.
-# This can be done by making the directory /var/run/spamd and
-# changing the owner to the UID that runs spamd. You will then
-# need to edit $pidfile in /etc/init.d/spamd. This should fix the
-# problem with stop/restart in the init scripts.
-#
-# See http://bugs.gentoo.org/show_bug.cgi?id=70124 for a full
-# explanation.
-
-SPAMD_OPTS="-m 5 -c -H"
-
-# spamd stores its pid in this file. If you use the -u option to
-# run spamd under another user, you might need to adjust it.
-
-PIDFILE="/run/spamd.pid"
-
-# SPAMD_NICELEVEL lets you set the 'nice'ness of the running
-# spamd process
-
-# SPAMD_NICELEVEL=5
diff --git a/mail-filter/spamassassin/files/3.3.1-spamd.init b/mail-filter/spamassassin/files/3.3.1-spamd.init
deleted file mode 100644
index 3f5fd1591afd..000000000000
--- a/mail-filter/spamassassin/files/3.3.1-spamd.init
+++ /dev/null
@@ -1,45 +0,0 @@
-#!/sbin/openrc-run
-# Copyright 1999-2016 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-# NB: Config is in /etc/conf.d/spamd
-
-# Provide a default location if they haven't in /etc/conf.d/spamd
-PIDFILE=${PIDFILE:-/run/spamd.pid}
-
-extra_started_commands="reload"
-
-depend() {
- need net
- before mta
- use logger
-@USEPOSTGRES@ use postgresql
-@USEMYSQL@ use mysql
-}
-
-start() {
- ebegin "Starting spamd"
- start-stop-daemon --start --quiet \
- --name spamd \
- --nicelevel ${SPAMD_NICELEVEL:-0} \
- --pidfile ${PIDFILE} \
- --exec /usr/sbin/spamd -- -d -r ${PIDFILE} \
- ${SPAMD_OPTS}
- retval=$?
- if ! [ -f "${PIDFILE}" ]; then
- sleep 1
- fi
- eend ${retval} "Failed to start spamd"
-}
-
-stop() {
- ebegin "Stopping spamd"
- start-stop-daemon --stop --quiet --pidfile ${PIDFILE}
- eend $? "Failed to stop spamd"
-}
-
-reload() {
- ebegin "Reloading configuration"
- start-stop-daemon --signal HUP --quiet --pidfile ${PIDFILE}
- eend $?
-}