Rav bug fix MISSING in beta 4.23-5?

Joseph Watson jtwatson at DATAKOTA.COM
Mon Aug 18 20:53:47 IST 2003


On Mon, 18 Aug 2003 17:19:28 +0100, Julian Field
<mailscanner at ECS.SOTON.AC.UK> wrote:

>Check what you have in the way of
>         /usr/lib/MailScanner/rav-wrapper
>files. If you have a ".rpmnew" version then rename that over the top of
>your rav-wrapper.
>
>There should be a couple of lines in it saying
>
># Replace the last lone "." with "./*" if it's there. Rav seems unable to
># recurse properly.
>$ARGV[$#ARGV] =~ s/^\.\/?$/\.\/\*/;
>
>I don't think I changed the actual parser at all, I just added this.
>
>Please let me know how you get on. I have just checked using this parser
>with both old and new versions of RAV and it appears to work.

Yes I do see these changes in the rav-wrapper.  Since this is a production
machine, I didn't install the full beta, only rav-wrapper.  Because the new
version gets the install directory from virus.scanners.conf, I had to
change

$ravprogram = shift;
$ravprogram .= '/bin/ravav';
to
$ravprogram = '/usr/local/rav8/bin/ravav';

So the only change that I have made to 4.23-5 is inserting the new rav-
wrapper with the above changes to it.

If I run rav-wrapper from the command line on my mail box -- it works

-------
[Server] # /usr/lib/MailScanner/rav-wrapper --mail --archive --all Mail/


RAV AntiVirus command line for Linux i686.
Version: 8.3.1.
Copyright (c) 1996-2001 GeCAD The Software Company. All rights reserved.

Scan engine 8.11 for i386.
Last update: Mon Aug 18 12:07:12 2003
Scanning for 81513 malwares (viruses, trojans and worms).

Scan started on Mon Aug 18 15:28:30 2003

Mail//inbox/cur/1060009993.31230.PYL1:2,S->(part0002:message.zip)-
>message.html->(part0000:)
Infected: Win32/Mimail.A at mm

..snip..

Scan ended on Mon Aug 18 15:28:33 2003


Scan results:
Time: 3 second(s).
Files/second: 86
Objects scanned: 260. New objects: 245
Infected: 22. Different virus bodies: 2.
Files: 45. Directories: 21. Archives: 12. Packed: 13. Mail files: 77.
Warnings: 0.
[root at LinuxServer jtwatson]#

But still I cant make Rav work with MailScanner.  There are no errors that
I can find anywhere, the mail just goes right trough.  If I add command
antivirus in MailScanner.conf, it works.

- Regards

Joseph Watson



More information about the MailScanner mailing list