On Aug 10, 2010, at 1:06 PM, Stevan Bajić wrote:

> On Tue, 10 Aug 2010 10:45:05 -0700
> Bradley Giesbrecht <bradley.giesbre...@gmail.com> wrote:
>
> [...]
>>>> I guess to be more helpful I should start using the Web-UI. I don't
>>>> have apache2-suexec installed. Guess I'll get that going so I can
>>>> be a
>>>> better dspam citizen.
>>>>
>>> I don't have apache2-suexec installed too nor do I need it for
>>> running my
>>> DSPAM Web-UI. :)
>>
>> Oh, I read somewhere that it was required.
>>
>> /opt/local/var/dspam/webui/cgi-bin/
>>
>> What would a dspam.pixilla.conf vhost file look like?
>>
> For what Web server? Apache?
>
> You really don't need suexec. I mean: there are situations where you  
> can only do the Web-UI with suexec but you could easily do it  
> without (if you allow your web server to read DSPAM_HOME, etc).

apache2 @2.2.15

ls -lad /opt/local/var/dspam
drwxrwx---  11 _vmail  _vmail  374 Aug 11 08:34 /opt/local/var/dspam

ls -la /opt/local/var/dspam
total 16992
drwxrwx---  11 _vmail  _vmail        374 Aug 11 08:34 .
drwxr-xr-x  17 root    admin         578 May 16 12:44 ..
drwxrwx---   4 _vmail  _vmail        136 Aug  4 12:22 data
lrwxr-xr-x   1 root    _vmail         27 Aug 11 08:34 default.prefs ->  
webui/cgi-bin/default.prefs
-rw-r--r--   1 _vmail  _vmail         25 May 17 07:48 group
drwxr-xr-x   9 root    _postfix      306 Jul 22 10:48 mysql
drwxr-xr-x   6 root    _postfix      204 Jul 22 10:48 pgsql
drwxr-xr-x   5 root    _postfix      170 Jul 22 10:48 samples
drwxr-xr-x   4 root    _postfix      136 Jul 22 10:48 sqlite
-rw-rw----   1 _vmail  _vmail    8688394 Aug 11 08:24 system.log
drwxrwxrwx   4 root    _postfix      136 Jul 22 10:48 webui


So should I chown or chmod to allow _www:_www to read /opt/local/var/ 
dspam?

chmod o+r

It's possible these permissions are not correct already. _vmail must  
be right since I didn't create them they must have been added by  
processes but root:_postfix?

// Brad
------------------------------------------------------------------------------
This SF.net email is sponsored by 

Make an app they can't live without
Enter the BlackBerry Developer Challenge
http://p.sf.net/sfu/RIM-dev2dev 
_______________________________________________
Dspam-user mailing list
Dspam-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspam-user

Reply via email to