On Fri, May 18, 2007 at 05:25:32PM -0500, Nick Templeton wrote: > Since when running spamd(8) in blacklisting mode requires > that spamd-setup(8) also be run with the "-b" option, should > /etc/rc (the system startup script) be modified with something > like I provide below? > > Index: rc > =================================================================== > RCS file: /cvs/src/etc/rc,v > retrieving revision 1.304 > diff -u -r1.304 rc > --- rc 25 Apr 2007 14:12:05 -0000 1.304 > +++ rc 18 May 2007 22:10:31 -0000 > @@ -668,9 +668,10 @@ > if [ X"${spamd_flags}" != X"NO" ]; then > if [ X"${spamd_black}" != X"NO" ]; then > spamd_flags="${spamd_flags} -b" > + spamd_setup_flags="-b" > fi > echo -n ' spamd'; eval /usr/libexec/spamd ${spamd_flags} > - /usr/libexec/spamd-setup > + /usr/libexec/spamd-setup ${spamd_setup_flags} > if [ X"${spamd_black}" = X"NO" ]; then > echo -n ' spamlogd' > /usr/libexec/spamlogd ${spamlogd_flags} >
why do you want to do this? spamd(8) says to use crontab. > > Also maybe a mention that the cron job needs the "-b" flag added > in the "BLACKLISTING" section of spamd(8)'s man page. > BLACKLISTING is not the correct place, but i have just added some information along these lines. jmc