<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&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; /usr/lib/MailScanner/avg-wrapper&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; /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.&nbsp; MailScanner doesn't
    remove it otherwise...<br>
    #probably a code issue.&nbsp; 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>
    &nbsp; [ -x ${PackageDir}/bin/$Prog ] &amp;&amp; exit 0<br>
    &nbsp; 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&gt;&amp;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.&nbsp; 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">&lt;<a moz-do-not-send="true"
                  href="mailto:mailscanner-request@lists.mailscanner.info"
                  target="_blank">mailscanner-request@lists.mailscanner.info</a>&gt;</span>
              wrote:
              <blockquote class="gmail_quote" style="margin:0 0 0
                .8ex;border-left:1px #ccc solid;padding-left:1ex">
                ---------- Forwarded message ----------<br>
                From:&nbsp;Glenn Steen &lt;<a moz-do-not-send="true"
                  href="mailto:glenn.steen@gmail.com">glenn.steen@gmail.com</a>&gt;<br>
                To:&nbsp;MailScanner discussion &lt;<a moz-do-not-send="true"
                  href="mailto:mailscanner@lists.mailscanner.info">mailscanner@lists.mailscanner.info</a>&gt;<br>
                Cc:&nbsp;<br>
                Date:&nbsp;Thu, 22 May 2014 10:58:35 +0200<br>
                Subject:&nbsp;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>--&nbsp;</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>