thanks John....  i think i've seen you around the webdna list? correct?

i solved my problem by recompiling dspam with:
--with-dspam-owner=vpopmail \
--with-dspam-group=vchkpw

this one worked.. and changing the owner of dspam.conf so vpopmail can
read it. and i think it will help me for the gui too after recompiling the
httpd with the imap module...

the thing now is that i switched to --deliver=innocent,spam  but i still
haven't gotten anything tagged as spam. which is weird - spamassassin used
to get about 60%. i also did some changes to dspam.conf to write SPAM in
the subject but have not seen any of those. weird....

thanks...



> kalin mintchev wrote:
>> first attempt to use dspam. with qmail and vpopmail. using the example
>> in
>> qmail.txt under doc. i compiled dspam with --enable-virtual-users and
>> have
>> vpopmail in dspam.conf in the Trust users...
>> however the maillog says:
>> delivery 440172: success:
>> /usr/local/bin/dspam:_permission_denied/did_0+0+1/
>
> Note that this is saying the dspam *executable* cannot be run by the
> vpopmail user.  You will need to
>
>       # chown vpopmail /usr/local/bin/dspam
>
> to be owned by the vpopmail user *OR* set the dspam binary to be SUID,
> i.e.
>
>       # chmod u+s /usr/local/bin/dspam
>
> so it will be executed as if by the dspam user (but see below).
>
>>
>> and this is what i have in the .qmail-default (from qmail.txt):
>>
>>  | /usr/local/bin/dspam  --deliver=innocent --user [EMAIL PROTECTED]  
>> --stdout
>> |
>> /home/vpopmail/bin/vdelivermail '' bounce-no-mailbox
>>
>> i thought the --enable-virtual-users will take care of the [EMAIL PROTECTED]
>> part.
>> what other permissions have to be set up?!?!
>
> qmail-local sets $EXT and $USER.  You need to make sure that the
> $DSPAMHOME directory can be written to by the vpopmail user as well, if
> you chose the first path above, else you won't be able to write to the
> quarantine folders (I made $DSPAMHOME == /home/vpopmail/dspam).
>
> If you chose to set dspam SUID, then $DSPAMHOME must be writeable by the
> dspam user (which may be easier to set up the webui, since Apache's
> suexec doesn't like low UID's, like vpopmail's typical UID 79).
>
> John
>
> --
> John Peacock
> Director of Information Research and Technology
> Rowman & Littlefield Publishing Group
> 4501 Forbes Boulevard
> Suite H
> Lanham, MD  20706
> 301-459-3366 x.5010
> fax 301-429-5748
>


Reply via email to