On Wed, 14 Apr 2010 16:33:27 -0700 (PDT) john espiro <john_esp...@yahoo.com> wrote:
> > > > > > ________________________________ > From: Stevan Bajić <ste...@bajic.ch> > That one here should be better as it does all the magic needed for DSPAM > maintenance at once: > http://dspam.git.sourceforge.net/git/gitweb.cgi?p=dspam/dspam;a=tree;f=contrib/dspam_maintenance;hb=HEAD > > Woah. I like this. > It is included in stock DSPAM 3.9.0. The above link however is directly from GIT (aka: Newest version). > Looks like I need to keep the purge*.sql script, > Correct. > but this does a bunch more stuff... Thanks. > :) > > > > Then for the logrotate script (/usr/bin/dspam_logrotate -a XX -d > > /var/dspam/data), I am guessing that XX should be replaced with 14... since > > the purge script is removing tokens that are 2 week or more old, it doesn't > > make sense to keep history for longer than that, right? > > > Depends on your setup. But in general it's okay to purge user logs after 15 > days or so. > > [John]: RIght -- but if I am using the purge script that clears out > signatures after X days, the logrotate script should use X days as well? > Yes. Else users would still see messages in their history but retraining them would result in DSPAM returning error -5 (signature not found). -- Kind Regards from Switzerland, Stevan Bajić ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Dspam-user mailing list Dspam-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspam-user