Qmail List wrote:
>> Qmail List wrote:
>>>> I am a newbie, switching from SpamAssassin to DSPAM. Some how, I had
>>>> DSPAM successfully installed and using it for a couple of days.
>>>> Today, I check the log file and notice that there are some errors.
>>>>
>>>> @40000000459bd0722f94909c tcpserver: end 16763 status 0
>>>> @40000000459bd0722f94bf7c tcpserver: status: 0/20
>>>> @40000000459bd1c01f00a34c tcpserver: status: 1/20
>>>> @40000000459bd1c01f00ca5c tcpserver: pid 16785 from 209.85.132.250
>>>> @40000000459bd1c01f00dde4 tcpserver: ok 16785 0:203.81.50.94:25
>>>> :209.85.132.250::12392
>>>> @40000000459bd1c01f33925c tcpserver: end 16785 status 256
>>>> @40000000459bd1c01f33bd54 tcpserver: status: 0/20
>>>> @40000000459bd1cb00188f1c tcpserver: status: 1/20
>>>> @40000000459bd1cb0018bdfc tcpserver: pid 16786 from 209.85.132.248
>>>> @40000000459bd1cb0018d184 tcpserver: ok 16786 0:203.81.50.94:25
>>>> :209.85.132.248::12356
>>>> @40000000459bd1cb237b36bc CHKUSER accepted sender: from
>>>> <[EMAIL PROTECTED]::> remote
>>>> <an-out-0708.google.com:unknown:209.85.132.248> rcpt <> : sender
>>>> accepted
>>>> @40000000459bd1cd07786444 CHKUSER accepted rcpt: from
>>>> <[EMAIL PROTECTED]::> remote
>>>> <an-out-0708.google.com:unknown:209.85.132.248> rcpt
>>>> <[EMAIL PROTECTED]> : found existing recipient
>>>> @40000000459bd1cf0316d714 simscan: connect error 2
>>>> @40000000459bd1cf17e5ed74 16788: [01/03/2007 23:54:45] Unable to
>>>> create directory: /var/dspam/data/[EMAIL PROTECTED]:
>>>> Permission denied
>>>> @40000000459bd1cf17f166f4 16788: [01/03/2007 23:54:45] Unable to open
>>>> file for writing:
>>>> /var/dspam/data/[EMAIL PROTECTED]/[EMAIL PROTECTED]:
>>>>
>>>> No such file  or
>>>> directory
>>>> @40000000459bd1cf18011a7c 16788: [01/03/2007 23:54:45] Unable to
>>>> create directory: /var/dspam/data/[EMAIL PROTECTED]:
>>>> Permission denied
>>>> @40000000459bd1cf184bf68c simscan:[16786]:CLEAN
>>>> (0.0000/0.9899):0.3560s:test:209.85.132.248:[EMAIL PROTECTED]:[EMAIL 
>>>> PROTECTED]:
>>>>
>>>>
>>>>
>>>> Checking on /var/dspam
>>>>
>>>> [EMAIL PROTECTED] log]# ls -la /var/dspam/
>>>> total 24
>>>> drwxr-xr-x   5 root     root   4096 Jan  3 21:05 .
>>>> drwxr-xr-x  25 root     root   4096 Jan  3 21:05 ..
>>>> drwxr-xr-x   2 vpopmail vchkpw 4096 Jan  3 21:05 data
>>>> drwxrwx---   2 vpopmail vchkpw 4096 Jan  3 21:17 log
>>>> drwxr-xr-x   4 root     root   4096 Jan  3 21:05 man
>>>>
>>>> Are those errors critical? My setup is CentOS 4.4, Qmail 1.05,
>>>> Vpopmail 5.4.17, Simscan 1.3.1 and DSPAM 3.6.8
>>>>
>>>> Thanks and best regards
>>>
>>> I'd say it might be critical. Your /var/dspam/data directory
>>> is owned by vpopmail:vchkpw, but I'll bet you a buck that the
>>> dspam process is run by another user, which then cannot create
>>> the directory/file needed.
>>> /L
>>>
>>> I had configured DSPAM and owned by vpopmail.vchkpw
>>>
>>> ./configure --prefix=/usr --sysconfdir=/etc \
>>> --with-dspam-home=/var/dspam --mandir=/var/dspam/man
>>> --infodir=/usr/local/share/info --with-dspam-owner=vpopmail \
>>> --with-dspam-group=vchkpw --with-userdir-owner=vpopmail \
>>> --with-userdir-group=vchkpw --enable-delivery-to-stdout
>>> --enable-factors \
>>> --with-storage-driver=mysql_drv,mysql_drv --enable-virtual-users \
>>> --with-mysql-includes=/usr/include/mysql
>>> --with-mysql-libraries=/usr/lib/mysql --enable-debug --enable-daemon
>>
>> That's all fine, but who's running the process?
>> (try ps -ef | grep dspam)
> 
> [EMAIL PROTECTED] named]# ps -ef | grep dspam
> root     20093  7431  0 02:44 pts/0    00:00:00 grep dspam

OK, that seems OK.

Going back to your original log, it would seem that a process
called "simscan", process id 16788, would be the process that
is not allowed to write/create the directory. That process is
not part of dspam (as far as I know). Would that give you any
ideas? I.e., what's simscan?
/L

Reply via email to