Leandro wrote:
It doesn´t work.
When I should make changes ? ... in compilation time ... or in perl script ?

After install you need to edit the perl script qmail-scanner-queue.pl.

I forgot to mention that you have to run:

  /usr/local/bin/qmail-scanner-queue.pl -z

as the user you use to run qmail-scanner-queue. in my case, its the user qscand.

You don't have to make this change, qmail-scanner still runs clamav, altough it doesn't mention it on the mail header.


I think that qmail-scanner uses
/var/spool/qmailscan/qmail-scanner-queue-version.txt

# more qmail-scanner-queue-version.txt
spamassassin: 3.0.0.

Yes, it just dumps that info into the mail header. You could change it to:

clamdscan: 0.80. spamassassin: 3.0.0.

But that file is recreated the next time you run qmail-scanner with -z argument, so change the .pl file instead.


Regards, Rui Lopes




} elsif ($scanner eq "clamdscan") { open(CLAMS,"$clamdscan_binary --version 2>&1|")||die "failed to call $clamdscan_binary --version - $!"; while (<CLAMS>) { chomp; if (/ClamAV ([0-9\.\-a-z]+)/i) { $SCANINFO .="clamdscan: $1. "; } }



----- Original Message ----- From: "Rui Lopes" <[EMAIL PROTECTED]>
To: "Leandro" <[EMAIL PROTECTED]>
Cc: "qmail-scanner" <[EMAIL PROTECTED]>
Sent: Tuesday, October 19, 2004 9:36 AM
Subject: Re: [Qmail-scanner-general]clamav 0.80 in mail header




Leandro wrote:

(excuse my for my bad english)


When I use qmail-scanner 1.23 with spamassassin 2.64 and clamav 0.65 ,

the

mail header has:
clamdscan: 0.65. spamassassin: 2.64.


When I try to use qmail-scanner 1.23 with spamassassin 3.0.0 and clamav

0.80

, the mail header has :
spamassassin 3.0.0    (without specify clamdscan version)


why ?

Because the output of `clamav --version' has changed. Just edit the qmail-scanner-queue.pl file, search for:

  if (/ersion ([0-9\.\-a-z]+)/i) {

and change it to:

  if (/ClamAV ([0-9\.\-a-z]+)/i) {


Regards, Rui Lopes


-------------------------------------------------------
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
_______________________________________________
Qmail-scanner-general mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/qmail-scanner-general

Reply via email to