You are not logged in.

#1 2007-10-24 11:04:01

tfp
Member
Registered: 2007-10-11
Posts: 16

dspam web-ui

Hi folks,
I tried to set up a dspam-server.
Everything is alright and works. Th
statistics also work:
[root@pc directory]# dspam_stats test
test              TP:     0 TN:    21 FP:     0 FN:     1 SC:     0 NC:     0

So but if I get into the webinterface (as user test),
it doesn't show me any data.
The dspam interface is there and he says:
Statistical SPAM protection for test.

But there is no data. Everywhere  it says 0% or N/A %
And in the History and in the Analysis it says:

An Error Has Occured

The following error occured while trying to process your request:
No historical data is available.

If this problem persists, please contact your administrator

I had a look at the configure.pl but there isn't anything about the dataconnection
so I think it takes the data for the connection from the /etc/dspam/dspam.conf or
where does it take that one from ?
The data is on a sql-Server on this machine.

What do I have to do to be able to see the data on the webui ?

Offline

#2 2007-10-24 11:43:25

tfp
Member
Registered: 2007-10-11
Posts: 16

Re: dspam web-ui

I think I found the problem.
The .stats files of this user are in
/home/admin/dspam/data/t/e/test/test.stats
the letters differ from user to user.
Is there a way to tell dspam to save all .stats
into one directory ? Would like to change that.
I couldn't find anything for that
in dspam.conf besides
"WebStats on"
and that doesn't provide a directory.

So my configure.pl for the webui says:
$CONFIG{'DSPAM_STATS'}  = "/home/admin/dspam/data/";
With /t/e it doesn't work either.

From the directory dspam on all directories  and files are 774
but the folder/home/admin belongs to admin and is
711. But dspam should be able to read the files anyway, shouldn't it ?

Last edited by tfp (2007-10-24 13:04:41)

Offline

Board footer

Powered by FluxBB