The logic to disable spamlogd when spamd is not enabled was added to
_rc_quirks() in /etc/rc.d/rc.subr. The corresponding logic that remains
in /etc/rc.d/spamlogd became ineffective when additional code was added
below it anyway.

Index: spamlogd
===================================================================
RCS file: /cvs/src/etc/rc.d/spamlogd,v
retrieving revision 1.2
diff -u -p -r1.2 spamlogd
--- spamlogd    8 Aug 2011 17:13:31 -0000       1.2
+++ spamlogd    29 Jul 2014 04:23:21 -0000
@@ -9,7 +9,6 @@ daemon="/usr/libexec/spamlogd"
 rc_reload=NO
 
 rc_pre() {
-       [  X"${spamd_flags}" != X"NO" -a X"${spamd_black}" = X"NO" ]
        if pfctl -si | grep -q Enabled; then
                ifconfig pflog0 create
                if ifconfig pflog0; then

Nathanael

Reply via email to