Hi All,

I found a strange situation in qmail-scanner which installed on my system.
When email sent and being process by QS, it returns following errors:

Mon, 22 Jun 2009 17:14:23 WIT:21618: +++ starting debugging for process
21618 by uid=1003
Mon, 22 Jun 2009 17:14:23 WIT:21618: setting UID to EUID so subprocesses can
access files generated by this script
Mon, 22 Jun 2009 17:14:23 WIT:21618: program name is qmail-scanner-queue.pl,
version 2.06
Mon, 22 Jun 2009 17:14:23 WIT:21618: w_c: mkdir
/var/spool/qscan/tmp/tomato124566566356621618
Mon, 22 Jun 2009 17:14:23 WIT:21618: error_condition: X-Qmail-Scanner-2.06:
/var/spool/qscan/tmp/tomato124566566356621618 exists - try again later...


Then I check the temp dir, and no files there

# ls -al /var/spool/qscan/tmp/
total 8
drwxr-x--- 2 qmaild nofiles 4096 2009-06-19 18:24 .
drwxrwx--- 6 qmaild nofiles 4096 2009-06-19 18:30 ..


Clamd and QS run as qmaild user

# grep User /etc/clamav/clamd.conf
User qmaild

# grep account /var/qmail/bin/qmail-scanner-queue.pl
my($qscan_account)='qmaild';

And so does qmail-smtpd run by qmaild

And this is permission setting of QS dir

# ls -al /var/spool/qscan
total 256
drwxrwx--- 6 qmaild nofiles   4096 2009-06-22 17:20 .
drwxr-xr-x 6 root   root      4096 2009-06-19 18:10 ..
drwxrwx--- 5 qmaild nofiles   4096 2009-06-19 18:10 archives
-rw-rw---- 1 qmaild nofiles 212881 2009-06-22 17:21 qmail-queue.log
-rw-rw---- 1 qmaild nofiles     21 2009-06-19 18:30
qmail-scanner-queue-version.txt
drwxrwx--- 5 qmaild nofiles   4096 2009-06-19 18:10 quarantine
-rw-r--r-- 1 qmaild nofiles   9414 2009-06-19 18:11 quarantine-events.txt
-rw-rw---- 1 qmaild nofiles    429 2009-06-19 18:22 quarantine.log
drwxr-x--- 2 qmaild nofiles   4096 2009-06-19 18:24 tmp
drwxrwx--- 5 qmaild nofiles   4096 2009-06-19 18:10 working


Anyone has idea about how to troubleshoot it ?

Thanks,

reza



------------------------------------------------------------------------------
Are you an open source citizen? Join us for the Open Source Bridge conference!
Portland, OR, June 17-19. Two days of sessions, one day of unconference: $250.
Need another reason to go? 24-hour hacker lounge. Register today!
http://ad.doubleclick.net/clk;215844324;13503038;v?http://opensourcebridge.org
_______________________________________________
Qmail-scanner-general mailing list
Qmail-scanner-general@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/qmail-scanner-general

Reply via email to