maybe chmod 0644 'spamassassin/v330.pre'
maybe chmod 0644 'spamassassin/v340.pre'
maybe chmod 0644 'spamassassin/v341.pre'
+maybe chmod 0644 'spamassassin/v342.pre'
maybe chmod 0755 'ssh'
maybe chmod 0644 'ssh/moduli'
maybe chmod 0644 'ssh/ssh_config'
/* Debug information:
# dpkg list:
ii linux-image-4.9.0-6-amd64 4.9.88-1+deb9u1 amd64 Linux 4.9 for 64-bit PCs
-iF linux-image-4.9.0-8-amd64 4.9.110-3+deb9u6 amd64 Linux 4.9 for 64-bit PCs
+iF linux-image-4.9.0-8-amd64 4.9.130-2 amd64 Linux 4.9 for 64-bit PCs
ii linux-image-amd64 4.9+80+deb9u6 amd64 Linux for 64-bit PCs (meta-package)
# list of installed kernel packages:
4.9.0-6-amd64 4.9.88-1+deb9u1
-4.9.0-8-amd64 4.9.110-3+deb9u6
+4.9.0-8-amd64 4.9.130-2
# list of different kernel versions:
-4.9.110-3+deb9u6
+4.9.130-2
4.9.88-1+deb9u1
-# Installing kernel: 4.9.110-3+deb9u6 (4.9.0-8-amd64)
-# Running kernel: 4.9.110-3+deb9u6 (4.9.0-8-amd64)
-# Last kernel: 4.9.110-3+deb9u6
+# Installing kernel: 4.9.130-2 (4.9.0-8-amd64)
+# Running kernel: 4.9.130-2 (4.9.0-8-amd64)
+# Last kernel: 4.9.130-2
# Previous kernel: 4.9.88-1+deb9u1
# Kernel versions list to keep:
-4.9.110-3+deb9u6
+4.9.130-2
4.9.88-1+deb9u1
# Kernel packages (version part) to protect:
4\.9\.0-6-amd64
# Fixup perms -- group and other should be able to
# read and execute, but never write. Works around
# sa-compile's failure to obey umask.
- chmod -R go-w,go+rX /var/lib/spamassassin/compiled
+ runuser -u debian-spamd -- \
+ chmod -R go-w,go+rX /var/lib/spamassassin/compiled
fi
}
DOPTIONS="-d --pidfile=$PIDFILE"
+# Note: check_enabled should go away as soon as possible after the
+# next stable release to complete the transition away from using
+# ENABLED=1 in /etc/default/spamassassin
check_enabled() {
if [ "$ENABLED" = "0" ]; then
echo "$DESC: disabled, see /etc/default/spamassassin"
start)
check_enabled
echo -n "Starting $DESC: "
- start-stop-daemon --start --pidfile $PIDFILE --name $DAEMON \
+ start-stop-daemon --start --pidfile $PIDFILE --name $NAME \
$NICE --oknodo --startas $DAEMON -- $OPTIONS $DOPTIONS
echo "$NAME."
;;
stop)
echo -n "Stopping $DESC: "
- start-stop-daemon --stop --pidfile $PIDFILE --name $DAEMON --oknodo
+ start-stop-daemon --stop --pidfile $PIDFILE --name $NAME --oknodo
echo "$NAME."
;;
reload|force-reload)
check_enabled
echo -n "Reloading $DESC: "
- start-stop-daemon --stop --pidfile $PIDFILE --signal HUP --name $DAEMON
+ start-stop-daemon --stop --pidfile $PIDFILE --signal HUP --name $NAME
echo "$NAME."
;;
restart)
check_enabled
echo -n "Restarting $DESC: "
- start-stop-daemon --stop --pidfile $PIDFILE --name $DAEMON \
+ start-stop-daemon --stop --pidfile $PIDFILE --name $NAME \
--retry 5 --oknodo
- start-stop-daemon --start --pidfile $PIDFILE --name $DAEMON \
+ start-stop-daemon --start --pidfile $PIDFILE --name $NAME \
$NICE --oknodo --startas $DAEMON -- $OPTIONS $DOPTIONS
echo "$NAME."
--- /dev/null
+# This is the right place to customize your installation of SpamAssassin.
+#
+# See 'perldoc Mail::SpamAssassin::Conf' for details of what can be
+# tweaked.
+#
+# This file was installed during the installation of SpamAssassin 3.4.1,
+# and contains plugin loading commands for the new plugins added in that
+# release. It will not be overwritten during future SpamAssassin installs,
+# so you can modify it to enable some disabled-by-default plugins below,
+# if you so wish.
+#
+# There are now multiple files read to enable plugins in the
+# /etc/mail/spamassassin directory; previously only one, "init.pre" was
+# read. Now both "init.pre", "v310.pre", and any other files ending in
+# ".pre" will be read. As future releases are made, new plugins will be
+# added to new files, named according to the release they're added in.
+###########################################################################
+
+# HashBL - Use EBL email blocklist
+# loadplugin Mail::SpamAssassin::Plugin::HashBL
+
+# ResourceLimits - assure your spamd child processes
+# do not exceed specified CPU or memory limit
+# loadplugin Mail::SpamAssassin::Plugin::ResourceLimits
+
+
+# FromNameSpoof - help stop spam that tries to spoof other domains using
+# the from name
+# loadplugin Mail::SpamAssassin::Plugin::FromNameSpoof
+
+# Phishing - finds uris used in phishing campaigns detected by
+# OpenPhish or PhishTank feeds.
+# loadplugin Mail::SpamAssassin::Plugin::Phishing
+
+# allow URI rules to look at DKIM headers if they exist
+parse_dkim_uris 1