Hello,

I'm running dspam 3.10 on an fc20 machine with postfix and dovecot.

The order is postfix gets the mail, sends it to dspam, which checks
it, and then sends it to dovecot for delivery. My software versions
are:

root@xxx:~#rpm -q postfix

postfix-2.10.3-1.fc20.i686

root@xxx:~#rpm -q dovecot

dovecot-2.2.10-1.fc20.i686

root@xxx:~#rpm -q dspam

dspam-3.10.2-11.fc20.i686

I'm getting the below error. Googling seems to suggest a permissions
problem, I'm not seeing how that's possible, and the directory dspam
wants to create are already there, so permission denied is
understandable given that it's trying to create something already in
place.

Feb 18 10:32:15 xxx postfix/smtpd[15494]: connect from
xxx.example.com[127.0.0.1]
Feb 18 10:32:16 xxx postfix/smtpd[15494]: 01F0C1B56A:
client=xxx.example.com[127.0.0.1]
Feb 18 10:32:16 xxx postfix/cleanup[15484]: 01F0C1B56A:
message-id=<[email protected]>
Feb 18 10:32:16 xxx opendkim[2966]: 01F0C1B56A: DKIM-Signature field
added (s=default, d=example.com)
Feb 18 10:32:16 xxx postfix/qmgr[3190]: 01F0C1B56A:
from=<[email protected]>, size=6561, nrcpt=1 (queue active)
Feb 18 10:32:16 xxx postfix/smtpd[15494]: disconnect from
xxx.example.com[127.0.0.1]
Feb 18 10:32:16 xxx postfix/lmtp[15485]: 710FA1B567:
to=<[email protected]>,
relay=mail.example.com[/var/run/dspam/dspam.sock], delay=0.69,
delays=0.11/0.01/0/0.56, dsn=2.6.0, status=sent (250 2.6.0
<[email protected]> Message accepted for delivery)
Feb 18 10:32:16 xxx postfix/qmgr[3190]: 710FA1B567: removed
Feb 18 10:32:16 xxx dspam[15497]: Unable to create directory:
/var/lib/dspam/data: Permission denied
Feb 18 10:32:16 xxx dspam[15497]: Unable to open file for writing:
/var/lib/dspam/data/s/p/[email protected]/[email protected]:
Permission denied
Feb 18 10:32:16 xxx dspam[15497]: Unable to create directory:
/var/lib/dspam/data: Permission denied
Feb 18 10:32:16 xxx dspam[15497]: Unable to open file for reading:
/var/lib/dspam/txt/msgtag.spam: Permission denied
Feb 18 10:32:16 xxx dspam[15497]: process_message returned error -3.
dropping message.
Feb 18 10:32:16 xxx postfix/pipe[15496]: 01F0C1B56A:
to=<[email protected]>, relay=dspam-spam, delay=0.29,
delays=0.16/0.01/0/0.11, dsn=2.0.0, status=sent (delivered via
dspam-spam service)
Feb 18 10:32:16 xxx postfix/qmgr[3190]: 01F0C1B56A: removed

Here's permissions on /var/lib/dspam:
root@xxx:~#ls -la /var/lib/dspam
total 1228
drwxrwx---  6 dspam dspam    4096 Feb 18 09:38 ./
drwxr-xr-x 31 root  root     4096 Feb 18 09:25 ../
drwxrwx---  8 dspam dspam    4096 Aug  3  2013 data/
-rw-r--r--  1 dspam dspam      55 Feb 13 09:57 group
drwxrwx---  2 dspam dspam    4096 Aug  3  2013 opt-in/
drwxrwx---  2 dspam dspam    4096 Aug  3  2013 opt-out/
-rw-rw----  1 dspam dspam 1224632 Feb 18 10:32 system.log
drwxr-xr-x  2 dspam dspam    4096 Feb 17 12:51 txt/
root@xxx:~#id dspam
uid=996(dspam) gid=995(dspam) groups=995(dspam),12(mail),5000(vmail)

I would appreciate any suggestions as I'd like to get this fixed so I
can train my dspam. If my postfix/dovecot/dspam configuration would
help i'll provide them.

Suggestions welcome.

Thanks.
Dave.

------------------------------------------------------------------------------
Managing the Performance of Cloud-Based Applications
Take advantage of what the Cloud has to offer - Avoid Common Pitfalls.
Read the Whitepaper.
http://pubads.g.doubleclick.net/gampad/clk?id=121054471&iu=/4140/ostg.clktrk
_______________________________________________
Dspam-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspam-user

Reply via email to