kaspersky 5.5 Virusscan <Solved>

Nerijus Baliunas nerijus at USERS.SOURCEFORGE.NET
Thu Aug 18 00:11:44 IST 2005


    [ The following text is in the "ISO-8859-1" character set. ]
    [ Your display is set for the "US-ASCII" character set.  ]
    [ Some characters may be displayed incorrectly. ]

On Fri, 29 Jul 2005 09:40:45 +0100 Julian Field <MailScanner at ECS.SOTON.AC.UK> wrote:

> > I finally got MS work together with Kaspersky 5.5.
> > First I had to change some access rights for the kaspersky  
> > installation,
> > so user postfix could call some subprogramms of kaspersky.

This should probably be added to the wiki.

> > Next I changed the ScanOptions within wrapper-kaspersky to "-i0"  
> > and took
> > the -j3 and -q out of the call: "${PackageDir}/$Scanner $ScanOptions
> > -o$Report "$@
> 
> Is this agreed as a change I should make to the main source tree?
> Does everyone have 5.5? Or are most/many people still running the  
> previous version?

I tried removing only one of the options at a time, and found out that
removing only -j3 helps. So the diff is:

--- kaspersky-wrapper.orig      2005-08-03 21:33:28.000000000 +0300
+++ kaspersky-wrapper   2005-08-18 01:36:39.079616824 +0300
@@ -51,7 +51,7 @@

   Args=`echo "$@" | sed -e 's/ -I/ -i/g; s/^-I/-i/g; s/-- / /g;'`
   rm -f $Report
-  ${PackageDir}/$Scanner $ScanOptions -o$Report -j3 -q "$@"
+  ${PackageDir}/$Scanner $ScanOptions -o$Report -q "$@"
   cat $Report
   rm -f $Report
   exit

And Kaspersky 5.0 still works with this change, so it can be safelly applied.
I tested with both archived and plain viruses.

Regards,
Nerijus

------------------------ MailScanner list ------------------------
To unsubscribe, email jiscmail at jiscmail.ac.uk with the words:
'leave mailscanner' in the body of the email.
Before posting, read the Wiki (http://wiki.mailscanner.info/) and
the archives (http://www.jiscmail.ac.uk/lists/mailscanner.html).

Support MailScanner development - buy the book off the website!



More information about the MailScanner mailing list