Hello Kyle,

A ls -alr of your dspam home directory (truncate the output if you want)
here =

(/var/spool/dspam)
-rw-rw----  1 clamav dspam 15214492  9. Nov 13:41 system.log
drwxrwx---  2 dspam  dspam     4096 29. Okt 14:44 opt-out
drwxrwx---  2 dspam  dspam     4096 29. Okt 14:44 opt-in
drwxrwx---  4 clamav dspam     4096  8. Nov 12:05 data
drwxr-xr-x 10 root   root      4096 29. Okt 14:43 ..
drwxrwxr-x  5 dspam  dspam     4096  9. Nov 03:10 .

------------------------------------------------------------------------------

(/usr/bin/   the binary ? ) =
-r-x--s--x 1 root dspam       93224  8. Nov 10:03 dspam
-rwxr-xr-x 1 root root        18728  8. Nov 10:03 dspam_2sql
-rwxr-xr-x 1 root root        18736  8. Nov 10:03 dspam_admin
-r-x--s--x 1 root dspam       47528  8. Nov 10:03 dspamc
-rwxr-xr-x 1 root root        22952  8. Nov 10:03 dspam_clean
-rwxr-xr-x 1 root root         6104  8. Nov 10:03 dspam_crc
-rwxr-xr-x 1 root root        18736  8. Nov 10:03 dspam_dump
-rwxr-xr-x 1 root root         4202  8. Nov 10:03 dspam_logrotate
-rwxr-xr-x 1 root root        18832  8. Nov 10:03 dspam_merge
-rwxr-xr-x 1 root root        18736  8. Nov 10:03 dspam_stats
-rwxr-xr-x 1 root root         6916  8. Nov 10:03 dspam_train

-----------------------------------------------------------------------------

ls -alr of web-ui
(/var/www/dspam) =

-rw-r--r--  1 root root   61  9. Nov 00:35 password
drwxr-xr-x  2 root root 4096  8. Nov 18:11 hooks
-rw-r--r--  1 root root 4792  8. Nov 18:11 dspam-logo-small.gif
drwxr-xr-x  3 root root 4096  8. Nov 21:55 cgi-bin
-rw-r--r--  1 root root 2772  8. Nov 18:11 base.css
drwxrwxrwx 37 root root 4096  8. Nov 18:12 ..
drwxrwxrwx  4 root root 4096  9. Nov 01:03 .

----------------------------------------------------------------------------


the vhost i did fotr dspam web-ui =

<Directory "/var/www/dspam">
       # Possible values for the Options directive are "None", "All",
       # or any combination of:
# Indexes Includes FollowSymLinks SymLinksifOwnerMatch ExecCGI MultiViews
       #
# Note that "MultiViews" must be named *explicitly* --- "Options All"
       # doesn't give it to you.
       #
# The Options directive is both complicated and important. Please see
       # http://httpd.apache.org/docs/2.2/mod/core.html#options
       # for more information.
       Options FollowSymLinks
       DirectoryIndex index.php index.html
       #AddDefaultCharset UTF-8
# AllowOverride controls what directives may be placed in .htaccess files.
       # It can be "All", "None", or any combination of the keywords:
       #   Options FileInfo AuthConfig Limit
       AllowOverride All
       RewriteEngine On
       # Controls who can get stuff from this server.
       Order allow,deny
       Allow from all
</Directory>

<IfModule alias_module>
             ScriptAlias /cgi-bin/ "/var/www/dspam/cgi-bin/"
</IfModule>

<Directory "/var/www/dspam/cgi-bin">
       Options FollowSymLinks ExecCGI
       SetHandler cgi-script
       AllowOverride None
       Order deny,allow
       Allow from all


       AuthType Basic
       AuthName "dspam"
       Require valid-user
       AuthUserFile /var/www/dspam/password
       SetHandler cgi-script
</Directory>

------------------------------------------------------------------
uid in mysql =

1  clamav


so i did in /var/www/password     clamav:passwd
and login with clamav / passwd

-------------------------------------------------------------------

dspam.debug show this =
11569: [11/09/2008 13:58:22] loading preferences for user clamav
11569: [11/09/2008 13:58:22] Loading preferences for uid 1
11569: [11/09/2008 13:58:22] Loading preferences for uid 0
11569: [11/09/2008 13:58:22] Loading preferences for uid 0
11569: [11/09/2008 13:58:22] default preferences empty. reverting to dspam.conf preferences.
11569: [11/09/2008 13:58:22] Loading preferences from dspam.conf
11569: [11/09/2008 13:58:22] using /var/spool/dspam/opt-in/local/clamav.dspam as path 11569: [11/09/2008 13:58:22] using /var/spool/dspam/opt-out/local/clamav.nodspam as path


so i thought its oke with user clamav

------------------------------------------------------------------------------------------

If u need any further info let me know.



marko







Kyle Johnson schrieb:
Hello,

I guess you are using apache2 as your webserver?
If so, what are you using for authentication? mod_auth_mysql? mod_auth_imap? When you log into the dspam webui, it tries to load data for a matching user in the dspam_virtual_uids table. What I mean is, the user name that you log in as, has to exist in dspam_virtual_uids.

Now, if you are indeed logging in correctly, then the chances are that your file permissions are incorrect. What we need is:

    * A ls -alr of your dspam home directory (truncate the output if
      you want)
    * ls -l of your dspam binary
    * ls -alr of your dspam webui root directory.

-Kyle

On Sat, Nov 8, 2008 at 8:01 PM, Marko Weber <[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>> wrote:

    Hello all,
    i am new to the dspam-user list.

    i installed dspam successfuly on my server. i use it with postfix
    - dovecot - mysql  / virtual users + domains - clamav
    dspam seems to run in daemon as i wanted it.
    it writes to the mysql without problems and seems fine on looking
    on every incoming mail.

    but,
    it also marks mails that are defnitly not spam as "spam".

    i installed then  dspam web-ui
    i got it run on webserver. but when i connect via browser the
    statistic on webpage says

    Overall accuracy (since last reset) *N/A%
    *Spam identification (since last reset) *N/A%
    *Spam ratio (of total processed) *0%

    The TAB  Analysis & History show this =

    *


      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.


    my idea was, to get the web-ui run to tell dspam to retrian the
    false positives.

    any ideas why this is not working for me ?

    i pasted my dspam.conf here =     http://rafb.net/p/06GneE50.html


    any ideas ?

    thank you,
    marko from Hamburg










!DSPAM:1011,4916e07d150921428910593!


Reply via email to