________________________________
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.  Looks like I need to keep the purge*.sql script, 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?



      
------------------------------------------------------------------------------
Download Intel&#174; 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

Reply via email to