-rws--x--x 1 qmailq qmail 14708 Jan 14 16:30 qmail-queue
-rwsr-xr-x 1 qscand qscand 11159 Jan 27 11:48 qmail-scanner-queue
-rwxr-xr-x 1 qscand qscand 82023 Jan 29 20:35 qmail-scanner-queue.pl
Strange thing...
Now the mail is scan (the /var/spool/qmailscanner/qmail-queue.log see it) and it check as virus, but I received it, instead of put in quarantine dir...
ll /var/qmail/bin/qmail-queue is owned by qscand.qscand ?
Thanks a lot. Fabrizio
----- Original Message ----- From: Kieran <[EMAIL PROTECTED]> Sent: Thursday, February 12, 2004 3:06:07 PM To: <[EMAIL PROTECTED]> Subject: Re: [Qmail-scanner-general]Permission denied problem- SOLVED-
[EMAIL PROTECTED]:~# ls -la /var/spool/qmailscan/
total 14820
drwxrwx--- 5 qscand qscand 432 Feb 12 03:05 .
drwxr-xr-x 7 root root 176 Jan 15 11:34 ..
-rw------- 1 qscand nofiles 3900608 Feb 12 14:04 qmail-queue.log
-rw------- 1 qscand nofiles 10577853 Feb 12 02:56 qmail-queue.log.1
-rw------- 1 qscand qscand 35 Jan 29 11:38 qmail-scanner-queue-version.txt
drwxrwx--- 5 qscand qscand 120 Jan 15 11:34 quarantine
-rw-r----- 1 qscand nofiles 49152 Jan 27 14:33 quarantine-attachments.db
-rw-rw---- 1 qscand qscand 4279 Jan 15 11:34 quarantine-attachments.txt
-rw-rw---- 1 qscand qscand 623986 Feb 12 13:15 quarantine.log
drwxrwxrwx 3 qscand qscand 96 Feb 12 14:04 tmp
lrwxrwxrwx 1 qscand qscand 31 Jan 15 11:34 viruses -> /var/spool/qmailscan/quarantine
lrwxrwxrwx 1 qscand qscand 35 Jan 15 11:34 viruses.log -> /var/spool/qmailscan/quarantine.log
drwxrwx--- 5 qscand qscand 120 Jan 15 11:34 working
Hi Kieran,
I haven't try to setting up clamav with root user (I'm using
clama-devel /
0.66 updated). This evening I'll try to put clamd as root user and test. Could you please paste an 'ls -la /var/spool/qmailscanner' ? So I
restore
the original permission of that dir for testing.
Regards, Fabrizio
----- Original Message ----- From: Kieran <[EMAIL PROTECTED]> Sent: Thursday, February 12, 2004 1:28:21 PM To: <[EMAIL PROTECTED]> Subject: Re: [Qmail-scanner-general]Permission denied problem- SOLVED-
running clamd as root works for me, this is why it works without a problem using clamav 0.60, which ran clamd as root by default. This seemed to be the lesser of 2 evils, having /var/spool/qmailscan world writable seems messy.
Hi again,
I solved the problem of "Permission denied". A note for slackware users (like me): for solve this problem you must
run
chmod -R 777 /var/spool/qmailscanner and this in the _only_ solution
for
working qmail-scanner-queue.pl as well.
Regards, Fabrizio
----- Original Message ----- From: [EMAIL PROTECTED] Sent: Thursday, February 12, 2004 9:54:17 AM To: <[EMAIL PROTECTED]> Subject: [Qmail-scanner-general]Permission denied problem
Hello list,
I've reinstalled qmail-scanner, but I see an error of permission
denied
in
/var/log/maillog
... Feb 12 08:38:29 bizio X-Qmail-Scanner-1.20: [bizio10765715094612005]
cannot
open /var/spool/qmailscan/qmail-scanner-queue-version.txt - did you initialise the system by running "qmail-scanner-queue.pl -z"? -
Permission
denied ...
Obviously I've initialse qmail-scanner with qmail-scanner-queue.pl -z
and
qmail-scanner-queue.pl -g. My permission on files:
[EMAIL PROTECTED]:/var/qmail/bin# ll qmail-scanner-queue* -rwsr-xr-x 1 qscand qscand 11159 Feb 12 00:38
qmail-scanner-queue*
-rwsr-xr-x 1 qscand qscand 81958 Feb 12 01:19 qmail-scanner-queue.pl* -rwsr-xr-x 1 qmailq qmail 84448 Feb 12 00:39 qmail-scanner-queue.pl.old*
[EMAIL PROTECTED]:/var/qmail/bin# ll /var/spool/qmailscan/ total 31 drwxrwxrwx 5 qscand qscand 392 Feb 12 01:21 ./ drwxr-xr-x 17 root root 432 Feb 12 01:19 ../ -rw------- 1 qscand qscand 723 Feb 12 01:20
qmail-queue.log
-rw------- 1 qscand qscand 20 Feb 12 01:21 qmail-scanner-queue-version.txt drwxrwx--- 5 qscand qscand 120 Feb 12 01:19 quarantine/ -rw-r----- 1 qscand qscand 12288 Feb 12 01:21 quarantine-attachments.db -rw-rw---- 1 qscand qscand 4279 Feb 12 01:19 quarantine-attachments.txt -rw-rw---- 1 qscand qscand 0 Feb 12 01:19 quarantine.log drwxrwxrwx 2 qscand qscand 48 Feb 12 01:19 tmp/ lrwxrwxrwx 1 qscand qscand 31 Feb 12 01:19 viruses -> /var/spool/qmailscan/quarantine/ lrwxrwxrwx 1 qscand qscand 35 Feb 12 01:19 viruses.log -> /var/spool/qmailscan/quarantine.log drwxrwx--- 5 qscand qscand 120 Feb 12 01:19 working/
Could someone please help me ? Thanks in advance.
BR, Fabrizio
------------------------------------------------------- SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps & Web services for Linux with a free DVD software kit from IBM. Click Now! http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click _______________________________________________ Qmail-scanner-general mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/qmail-scanner-general
------------------------------------------------------- SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps & Web services for Linux with a free DVD software kit from IBM. Click Now! http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click _______________________________________________ Qmail-scanner-general mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/qmail-scanner-general
