<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
I got AVG to work.<br>
<br>
I changed this line in virus.scanners.conf:<br>
avg /usr/lib/MailScanner/avg-wrapper /opt/avg/av<br>
<br>
Save a copy just-in-case someone blows the dust off this project and
releases an update......<br>
<br>
Then I edited the wrapper:<br>
/usr/lib/MailScanner/avg-wrapper:<br>
<br>
#Add the t option to delete infected object. MailScanner doesn't
remove it otherwise...<br>
#probably a code issue. Don't care, throw the beastie away.<br>
ScanOptions="-at"<br>
PackageDir=$1<br>
shift<br>
Prog=avgscan<br>
<br>
if [ "x$1" = "x-IsItInstalled" ]; then<br>
[ -x ${PackageDir}/bin/$Prog ] && exit 0<br>
exit 1<br>
fi<br>
<br>
# Force output into English<br>
LANG=EN<br>
export LANG<br>
# update AVGs library reference<br>
<br>
#Needed For Proper Use Of New AVG<br>
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/opt/avg/av/lib<br>
export AVGINSTDIR=/opt/avg/av<br>
export HOME=/opt/avg/av<br>
<br>
exec $PackageDir/bin/$Prog $ScanOptions "$@" 2>&1<br>
exit 1<br>
<br>
...<br>
<br>
Save a backup of the wrapper in case (highly UNLIKELY at this time)
MailScanner has an update. HA!<br>
<br>
Cheers!<br>
<br>
mph<br>
<br>
<br>
<div class="moz-cite-prefix">On 5/22/2014 4:51 AM, Paul Welsh wrote:<br>
</div>
<blockquote
cite="mid:CAA510g47kNhScLP0hduBbCyDbD9kHY9MgegWpYGucn0HGYpeBA@mail.gmail.com"
type="cite">
<div dir="ltr">Thanks for the hints, Glenn.
<div><br>
</div>
<div>I have no time either so have abandoned AVG.</div>
<div><br>
</div>
<div>Hopefully someone will read this before trying it and save
themselves the bother.<br>
<div class="gmail_extra">
<br>
<br>
<div class="gmail_quote">On 22 May 2014 12:00, <span
dir="ltr"><<a moz-do-not-send="true"
href="mailto:mailscanner-request@lists.mailscanner.info"
target="_blank">mailscanner-request@lists.mailscanner.info</a>></span>
wrote:
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">
---------- Forwarded message ----------<br>
From: Glenn Steen <<a moz-do-not-send="true"
href="mailto:glenn.steen@gmail.com">glenn.steen@gmail.com</a>><br>
To: MailScanner discussion <<a moz-do-not-send="true"
href="mailto:mailscanner@lists.mailscanner.info">mailscanner@lists.mailscanner.info</a>><br>
Cc: <br>
Date: Thu, 22 May 2014 10:58:35 +0200<br>
Subject: Re: Antivirus performance, AVG<br>
<div dir="ltr">Hi Paul,
<div><br>
</div>
<div>Seems like something is up with the patterns (in
MS) for avg, so one of the maintainers really should
look through that part of the code. Back in the
days, Jules would be on this;-).</div>
<div><br>
</div>
<div>The actual perl (in the wrappers and in
SweepViruses.pm) is ... voluminous... but perhaps
not downright obtuse (since I think I know how it
works:-)... There is however a fair bit of massaging
of the output from the scanner going on in
ProcessAvgOutput (in SweepViruses.pm), so ... If you
can generate the output and play with the REs as
from that function, maybe you'll find the solution
yourself;-).</div>
<div><br>
</div>
<div>Alas, I myself has next to no time to put into
any projects anymore, so can't be of more help.</div>
<div><br>
</div>
<div>Cheers!</div>
<div>-- </div>
<div>-- Glenn</div>
</div>
<div class="gmail_extra">
<br>
</div>
</blockquote>
</div>
</div>
</div>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
</blockquote>
<br>
</body>
</html>