Current-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: dspam problem

On Wed, 18 Mar 2009, Martti Kuparinen wrote:

so let's see how it works now. I assume /var/dspam/.dspam/* were owned by root because I have this in my /etc/daily.local. I assume I need to run it as the dspam user...

if [ -x /usr/pkg/bin/dspam_clean ]; then
       echo "Cleaning DSPAM databases"
       (cd /var/dspam/.dspam && ls *@*css) | while read i
               U=`echo ${i} | sed 's#\.css##'`
               /usr/pkg/bin/dspam_clean -s14 -p30 ${U} > /dev/null 2>&1
       echo ""
if [ -x /usr/pkg/bin/dspam_logrotate ]; then
       /usr/pkg/bin/dspam_logrotate -a 30 -d /var/dspam > /dev/null 2>&1

PS. How are you guys doing the daily/weekly/whatever maintenance work for dspam?

I haven't been doing any maintenance at all. Maybe I need to start looking at dspam_{clean,logrotate} (and maybe others) and get them running.

|   Paul Goyette   | PGP DSS Key fingerprint: |  E-mail addresses:      |
| Customer Service | FA29 0E3B 35AF E8AE 6651 |  paul at   |
| Network Engineer | 0786 F758 55DE 53BA 7731 | pgoyette at |
| Kernel Developer |                          | pgoyette at  |

Home | Main Index | Thread Index | Old Index