I think I've cracked it: I added the group "dspam" as a secondary group 
to user "apache".

Now I can see the interface complete with the expected analysis and 
history forms.

Your (c) gave me the hint. Thanks.


On 15/04/2013 6:50 PM, Tom Hendrikx wrote:
> Hi,
>
> The webui executes dspam, dspam_admin etc on the commandline, typically
> as the user running the httpd. This means that you need to setup you
> environment in a way that allows to execute these commands, typically
> done by one of:
>
> a) adding sudo in the mix
> b) running the webui under a different user within the httpd, using f.i.
> suexec in apache
> c) allowing the regular httpd user to execute all dspam command, f.i.
> using 'Trust' directive in dspam.conf
>
> None of these setups is really easy, and they all have security
> concerns, which is why the webui is cumbersome to set up.
>
> The easiest way I found is running a separate httpd process (using
> lighttpd in my case) that runs as dspam/dspam and only serves the webui,
> and no other content.
>
> The "permission denied" error you are seeing is most likely cause bythe
> fact that the httpd user does not have enough rights to run the
> 'dspam_admin' binary, or something like that...
> erry Messenger PIN: 28388018
>

------------------------------------------------------------------------------
Precog is a next-generation analytics platform capable of advanced
analytics on semi-structured data. The platform includes APIs for building
apps and a phenomenal toolset for data science. Developers can use
our toolset for easy data analysis & visualization. Get a free account!
http://www2.precog.com/precogplatform/slashdotnewsletter
_______________________________________________
Dspam-user mailing list
Dspam-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspam-user

Reply via email to