Antivirus performance, AVG
Michael Huntley
michael at huntley.net
Sun Sep 28 18:41:19 IST 2014
Hi Paul -
Thanks for the update. I run AVG with clamd - I'll have to test alone
as well.
Kind regards,
mph
On 9/21/2014 2:07 PM, Paul Welsh wrote:
> Hi Michael
>
> Thanks for the info about AVG you provided back in May.
>
> I didn't get any luck with this. When I run avg with f-prot6 or clamd
> it appears to work. I get this in maillog:
> Clamd::INFECTED::Eicar-Test-Signature
> Avg: Virus identified EICAR_Test; deleted in msg-9254-1.txt
>
> and I get this in the attachment-warning.txt in the received message:
> Clamd: msg-9254-1.txt was infected: Eicar-Test-Signature
> Avg: Found virus deleted in file msg-9254-1.txt
>
> So looks promising.
>
> However, if I use AVG on its own I see this in the log:
> Avg: Virus identified EICAR_Test; deleted in msg-12519-1.txt
> Virus Scanning: Avg found 1 infections
> Virus Scanning: Found 1 viruses
> Delivery of nonspam
>
> The message is delivered intact.
>
> To test I'm including the eicar text in the body of a message. Using
> MailScanner 4.84.5.
>
>
>
>
>
> On 23 May 2014 12:00, <mailscanner-request at lists.mailscanner.info
> <mailto:mailscanner-request at lists.mailscanner.info>> wrote:
>
> ---------- Forwarded message ----------
> From: Michael Huntley <michael at huntley.net
> <mailto:michael at huntley.net>>
> To: MailScanner discussion <mailscanner at lists.mailscanner.info
> <mailto:mailscanner at lists.mailscanner.info>>
> Cc:
> Date: Thu, 22 May 2014 23:00:28 -0700
> Subject: Re: Antivirus performance, AVG
> I got AVG to work.
>
> I changed this line in virus.scanners.conf:
> avg /usr/lib/MailScanner/avg-wrapper /opt/avg/av
>
> Save a copy just-in-case someone blows the dust off this project
> and releases an update......
>
> Then I edited the wrapper:
> /usr/lib/MailScanner/avg-wrapper:
>
> #Add the t option to delete infected object. MailScanner doesn't
> remove it otherwise...
> #probably a code issue. Don't care, throw the beastie away.
> ScanOptions="-at"
> PackageDir=$1
> shift
> Prog=avgscan
>
> if [ "x$1" = "x-IsItInstalled" ]; then
> [ -x ${PackageDir}/bin/$Prog ] && exit 0
> exit 1
> fi
>
> # Force output into English
> LANG=EN
> export LANG
> # update AVGs library reference
>
> #Needed For Proper Use Of New AVG
> export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/opt/avg/av/lib
> export AVGINSTDIR=/opt/avg/av
> export HOME=/opt/avg/av
>
> exec $PackageDir/bin/$Prog $ScanOptions "$@" 2>&1
> exit 1
>
> ...
>
> Save a backup of the wrapper in case (highly UNLIKELY at this
> time) MailScanner has an update. HA!
>
> Cheers!
>
> mph
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.mailscanner.info/pipermail/mailscanner/attachments/20140928/1af049e5/attachment.html
More information about the MailScanner
mailing list