Hi All,

I fixed the problem by replacing line 1044 in configure:

# replace
#          if [ "`setuidgid $QS_USER $dir/clamscan -v $TMP_DIR 2>&1|egrep -i
'virus|test'`" != "" ]; then   (line 1044)
           if [ "`$dir/clamscan -v $TMP_DIR 2>&1|egrep -i 'virus|test'`" !=
"" ]; then # save en exit

That's the line used in version 1.25. I don't know why but it worked for me.

Best regards and a happy new year!

Almar

-----Oorspronkelijk bericht-----
Van: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Namens Almar
van Pel
Verzonden: zaterdag 30 december 2006 21:57
Aan: qmail-scanner-general@lists.sourceforge.net
Onderwerp: [Qmail-scanner-general] FW: problem using clamscan
andqmail-scanner 2.01


Hi All,

I'm having some issues with clamscan/qmail-scanner during installation of
qmail-scanner 2.01 wich does not occur in version 1.25. Version 2 does not
recognize clamscan as scanner. This is the output of configure on version
1.25:

qmail-scanner-1.25# ./configure --install --admin root --scanners clamscan
--notify none --debug no --domain x Building Qmail-Scanner 1.25...
This script will search your system for the virus scanners it knows about,
and will ensure that all external programs qmail-scanner-queue.pl uses are
explicitly pathed for performance reasons.
Continue? ([Y]/N)
y
rm: invalid option --
Try `rm --help' for more information.
/usr/bin/uudecode works as expected on system...
Found tnef on your system! That means we'll be able to decode stupid M$
attachments :-) The following binaries and scanners were found on your
system:
mimeunpacker=/usr/local/bin/reformime
uudecode=/usr/bin/uudecode
tnef=/usr/local/bin/tnef
Content/Virus Scanners installed on your System
clamscan=/usr/local/bin/clamscan scanners=clamscan

As you van see, it recognizes clamscan as scanner.

When I do the same for version 2.01:

qmail-scanner-2.01# ./configure --install --admin root --scanners clamscan
--notify none --debug no --domain x Building Qmail-Scanner 2.01...
This script will search your system for the virus scanners it knows about,
and will ensure that all external programs qmail-scanner-queue.pl uses are
explicitly pathed for performance reasons.
Continue? ([Y]/N)
rm: invalid option --
Try `rm --help' for more information.
/usr/bin/uudecode works as expected on system...
Found tnef on your system! That means we'll be able to decode stupid M$
attachments :-) The following binaries and scanners were found on your
system:
mimeunpacker=/usr/local/bin/reformime
uudecode=/usr/bin/uudecode
tnef=/usr/local/bin/tnef
Content/Virus Scanners installed on your System max-scan-size=100000000
scanners=

Now when I leave out --scanners clamscan in the configure statement, it
auto's to clamdscan, however I don't want to use that one because it gives
me some issues with the rights.

Can anyone tell me how to make it use clamscan like it does in the older
version, or why it does not recognize clamscan in version 2.01 and does in
older versions? (It's the same system)

Best regards,


Almar van Pel


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's
Techsay panel and you'll get the chance to share your opinions on IT &
business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Qmail-scanner-general mailing list
Qmail-scanner-general@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/qmail-scanner-general


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Qmail-scanner-general mailing list
Qmail-scanner-general@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/qmail-scanner-general

Reply via email to