An addition to my first post:
After some additional testing I see that running qmail-scanner-queue.pl -g
*as root* succeeds, but as an unprivilaged user it does nothing:
[EMAIL PROTECTED] qmailscan]# /var/qmail/bin/qmail-scanner-queue.pl -g
perlscanner: generate new DB file from
/var/spool/qmailscan/quarantine-attachments.txt
perlscanner: total of 16 entries.
[EMAIL PROTECTED] qmailscan]#

But...
[EMAIL PROTECTED] qmailscan]# su -c '/var/qmail/bin/qmail-scanner-queue.pl -g'
qmaild
[EMAIL PROTECTED] qmailscan]#
... And there's no change to the quarantine-attachements.db file

Sorry for sending the details in bits and pieces.
Thanks for any suggestions
--Micha

> -----Original Message-----
> From: Micha Silver [mailto:[EMAIL PROTECTED] 
> Sent: Monday, December 15, 2003 6:04 PM
> To: ([EMAIL PROTECTED])
> Subject: [Qmail-scanner-general]Quarantine-attachments
> 
> 
> I have qmail installed and running on a new Fedora Core 
> server, and I'm trying to work out the installation of Q-S 
> (clamav antivirus). I've gotten thru the perl-suidperl 
> business by installing an rpm for perl 5.8.1, and the 
> ./configure script runs successfully. I ran the 
> test_installation.sh and received the 4 test emails OK. I 
> also can do su -c '/var/qmail/bin/qmail-scanner-queue.pl -g' 
> qmaild, and the quarantine-attchements.db is created. However 
> every time I enable the QMAILQUEUE env variable, mail stops 
> going thru. The perl scripts seems to be looking for a file 
> called 'quarantine-attachments' (no .db extension)
> 
> From the /var/spool/qmailscan/qmail-queue.log:
> 
> 15/12/2003 17:42:59:6681: error_condition: 
> X-Qmail-Scanner-1.20: cannot open 
> /var/spool/qmailscan/quarantine-attachments - No such file or 
> directory
> 
> But I do have the files:
> 
> [EMAIL PROTECTED] qmailscan]# pwd
> /var/spool/qmailscan
> [EMAIL PROTECTED] qmailscan]# ll quarantine-attachments*
> lrwxrwxrwx    1 root     root           25 Dec 15 17:31
> quarantine-attachments -> quarantine-attachments.db
> -rw-r-----    1 qscand   root        12288 Dec 15 17:37
> quarantine-attachments.db
> -rw-r--r--    1 qscand   qscand       4330 Dec  7 12:10
> quarantine-attachments.txt
> 
> Note that I even added a link to quarantine-attachements, but 
> that didn't help.
> 
> What am I missing?
> 
> TIA
> --Micha
> 
> 
> -------------------------------------------------------
> This SF.net email is sponsored by: IBM Linux Tutorials.
> Become an expert in LINUX or just sharpen your skills.  Sign 
> up for IBM's Free Linux Tutorials.  Learn everything from the 
> bash shell to sys admin. Click now! 
> http://ads.osdn.com/?ad_id=1278> &alloc_id=3371&op=click
> 
> 
> _______________________________________________
> Qmail-scanner-general mailing list 
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/qmail-scanner-general
> 


-------------------------------------------------------
This SF.net email is sponsored by: IBM Linux Tutorials.
Become an expert in LINUX or just sharpen your skills.  Sign up for IBM's
Free Linux Tutorials.  Learn everything from the bash shell to sys admin.
Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click
_______________________________________________
Qmail-scanner-general mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/qmail-scanner-general

Reply via email to