On Fri, 18 Mar 2011 10:28:28 +0100
Christoph Pleger <christ...@plmail.de> wrote:

> Hello,
> 
> > > > What is this directory 'local' used for?
> >
> > You are using '--enable-domain-scale' and have processed a user/group
> > without any domain part (aka: your 'root' user you mention above). Since
> > DSPAM can not determine the domain part (there is no @....) it uses for
> > such cases the domain name 'local' and saves data for such users in the
> > directory 'local'.
> 
> To find out where the directory 'local' comes from, I deleted it every day 
> since my first message here about the matter. "ls -l" showed me that "local" 
> is created every morning at 6:25, that is exactly the time when my daily cron 
> jobs are started. So, "local" is obviously created by the following cron job:
> 
> #!/bin/sh
> #
> # Clean up the hash / db4 databases
> 
> DSPAMCONF=/etc/dspam/dspam.conf
> 
> if egrep -q "^StorageDriver.*(hash|db4)_drv.so" $DSPAMCONF; then
>   if [ -x /usr/bin/dspam_clean ]; then
>     /usr/bin/dspam_clean -s -p >/dev/null
>   fi
> fi
> 
> exit 0
> 
> 
> Why does dspam_clean create a new directory "local"?
> 
Because you have a DSPAM user that is called 'root'.

Those commands should report a user 'root':
dspam_stats | grep '^root$'
dspam_stats -H root


> Regards
>   Christoph
> 
> ------------------------------------------------------------------------------
> Colocation vs. Managed Hosting
> A question and answer guide to determining the best fit
> for your organization - today and in the future.
> http://p.sf.net/sfu/internap-sfd2d
> _______________________________________________
> Dspam-user mailing list
> Dspam-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/dspam-user
> 

------------------------------------------------------------------------------
Colocation vs. Managed Hosting
A question and answer guide to determining the best fit
for your organization - today and in the future.
http://p.sf.net/sfu/internap-sfd2d
_______________________________________________
Dspam-user mailing list
Dspam-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspam-user

Reply via email to