Good day,

I am trying out the package dspam-3.6.8p1-mysql and ran into the
following problem -- not able to get any answers after days of searching
the dspam lists, various archives, etc. Apologize in advance for sending
this to the OBSD list but am hoping someone here can help.

All the various features seem to work (spam is being quarantined for the
most part). However, if I attempt to train by forwarding an unsolicited
message to [EMAIL PROTECTED], (forwarding to the [EMAIL PROTECTED] by root
works) I get the following error:

Dec 16 19:18:33 mx1 sendmail[5394]: kBH1IX53005394: from=vsankar,
size=2773, class=0, nrcpts=1,
msgid=<[EMAIL PROTECTED]>, [EMAIL PROTECTED]

Dec 16 19:18:34 mx1 sm-mta[30713]: kBH1IXA2030713:
from=<[EMAIL PROTECTED]>, size=2934, class=0, nrcpts=1,
msgid=<[EMAIL PROTECTED]>, proto=ESMTP, daemon=MTA,
relay=localhost.sankars.com [127.0.0.1]

Dec 16 19:18:34 mx1 sendmail[5394]: kBH1IX53005394:
[EMAIL PROTECTED], ctladdr=vsankar (1002/1002), delay=00:00:01,
xdelay=00:00:01, mailer=relay, pri=32773, relay=[127.0.0.1] [127.0.0.1],
dsn=2.0.0, stat=Sent (kBH1IXA2030713 Message accepted for delivery)

Dec 16 19:18:34 mx1 dspam[20346]: Unable to create
directory: /var/dspam/data: Permission denied

Dec 16 19:18:34 mx1 dspam[20346]: Unable to open file for
writing: /var/dspam/data/vsankar/vsankar.stats: Permission denied

Dec 16 19:18:34 mx1 dspam[20346]: Unable to create
directory: /var/dspam/data: Permission denied

Dec 16 19:18:34 mx1 sm-mta[4842]: kBH1IXA2030713:
to="|/usr/local/bin/dspam --user root --class=spam --source=error",
ctladdr=<[EMAIL PROTECTED]> (1/0), delay=00:00:01, xdelay=00:00:00,
mailer=prog, pri=33163, dsn=2.0.0, stat=Sent

I had set the ownership of all files in /var/dspam to _dspam:_dspam
initially. After these errors, I tried various combinations of users and
groups (root:wheel, _dspam:wheel, smmsp:smmsp and also tried chmod 777.
I get the same errors regardless.

Please let me know if you have any suggestions.

Thanks very much,

Vijay
 
-- 
Vijay Sankar, M.Eng., P.Eng.
ForeTell Technologies Limited
59 Flamingo Avenue, Winnipeg, MB, Canada R3J 0X6
Phone: 204 885 9535, E-Mail: [EMAIL PROTECTED]

Reply via email to