On 14.05.2012 18:18, Manel Gimeno Zaragozá wrote:
Hello,

I'm trying to include dspam in my mail environment and I'm getting problems with WEBUI permissions. I'm able to connect to the webeui and see the opcions, but when I try to change something I'm getting a permission denied.

where should I define the user to modify the preferences?

auth through mysql is working? but I'm not sure why I'm gettin "permission denied"

You get that after you try to change the settings? Then it very likely that you are not allowed to execute dspam_admin from within the CGI.
Can you post the whole (unchanged) error message you are getting?
Can you post your DSPAM Web-UI configuration (configure.pl)?

I have the following configuration in apache and dspam

# ls -l /etc/httpd/conf.d/dspam.conf
-rw-r--r-- 1 root root 1529 May 14 17:58 /etc/httpd/conf.d/dspam.conf

# cat /etc/httpd/conf.d/dspam.conf
<VirtualHost *:80>
        DocumentRoot /var/www/html/dspam
        ServerName mx-test.ddol-test.com
        Options ExecCGI Includes FollowSymlinks
        DirectoryIndex dspam.cgi
        #SSLEngine on
        #SSLCertificateFile /etc/pki/tls/certs/server.crt
        #SSLCertificateKeyFile /etc/pki/tls/certs/server.key
        SuexecUserGroup dspam dspam
<Directory "/var/www/html/dspam">
                #SSLRequireSSL
                AllowOverride none
                Options +ExecCGI -Indexes
                AddHandler cgi-script cgi pl
                DirectoryIndex dspam.cgi
                Order deny,allow
                AuthName "DSpam Web Access"
                AuthType Basic
                AuthMySQLEnable On
                AuthMySQLSocket /var/lib/mysql/mysql.sock
                AuthMySQLHost localhost
                AuthMySQLDB auth
                AuthMySQLUser root
                AuthMySQLPassword password
                AuthMySQLUserTable users
                AuthMySQLNameField user_name
                AuthMySQLPasswordField user_passwd
                AuthMySQLPwEncryption none
                Require valid-user
</Directory>
</VirtualHost>

# ls -la /var/www/html/dspam/
total 288
drwxr-xr-x  3 dspam dspam  4096 May 14 17:53 .
drwxr-xr-x  4 dspam dspam  4096 May 14 17:53 ..
-rwxr-xr-x  1 dspam dspam 30001 May 14 12:04 admin.cgi
-rwxr-xr-x  1 dspam dspam  5783 May 14 12:04 admingraph.cgi
-rw-r--r--  1 dspam dspam    51 May 14 17:36 admins
-rw-r--r--  1 dspam dspam  3179 May 14 12:04 base.css
-rw-r--r--  1 dspam dspam  6920 May 14 12:06 configure.pl
-rwxr-xr-x  1 dspam dspam  6906 May 14 12:04 configure.pl.in
-rw-r--r--  1 dspam dspam  1394 May 14 12:04 default.prefs
-rwxr-xr-x  1 dspam dspam 55302 May 14 12:04 dspam.cgi
-rw-r--r--  1 dspam dspam   822 May 14 12:04 dspam.js
-rw-r--r--  1 dspam dspam  4792 May 14 12:04 dspam-logo-small.gif
-rw-r--r--  1 dspam dspam 15774 May 14 12:04 favicon.ico
-rwxr-xr-x  1 dspam dspam  4585 May 14 12:04 graph.cgi
-rwxr-xr-x  1 dspam dspam 61390 May 14 12:04 htmlize.pl
-rw-r--r--  1 dspam dspam 11127 May 14 12:04 Makefile
-rw-r--r--  1 dspam dspam   181 May 14 12:04 Makefile.am
-rw-r--r--  1 dspam dspam 11090 May 14 12:04 Makefile.in
-rw-r--r--  1 dspam dspam 17168 May 14 12:04 rgb.txt
-rw-r--r--  1 dspam dspam   589 May 14 12:04 rtl.css
-rw-r--r--  1 dspam dspam   574 May 14 12:04 subadmins
drwxr-xr-x 10 dspam dspam  4096 May 14 12:04 templates

# cat admins
root
dspam

Manel Gimeno Zaragoza
magiz...@hotmail.com


------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/


_______________________________________________
Dspam-user mailing list
Dspam-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspam-user


--
Kind Regards from Switzerland,

Stevan Bajić

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Dspam-user mailing list
Dspam-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspam-user

Reply via email to