On 12/11/13 21:06, Alexander Hall wrote:
On 12/10/13 21:38, Maurice Janssen wrote:
How about this (and of course remove the spamd-setup bits from /etc/rc):
--- spamd.orig Tue Dec 10 21:24:48 2013
+++ spamd Tue Dec 10 21:24:14 2013
@@ -15,4 +15,12 @@
return 0
}
+rc_start() {
+ ${rcexec} "${daemon} ${daemon_flags} ${_bg}"
+ spamd_setup_flags="-D"
+ [ X"${spamd_black}" != X"NO" ] && \
+ spamd_setup_flags="-b ${spamd_setup_flags}"
+ rc_do rc_wait start && /usr/libexec/spamd-setup
${spamd_setup_flags}
+}
This seems like the wrong order. Currently, we run spamd-setup prior to
starting spamd, which sounds more appropriate to me.
Are you sure? In /etc/rc, spamd-setup is run after spamd and spamlogd.
Seems more appropriate to me, as spamd-setup sends blacklist data to spamd.
Maurice