AVG Support

Rick Cooper rcooper at DWFORD.COM
Fri Apr 2 17:07:07 IST 2004


I guess I am not sure what you mean about added the revisions to the bottom
of the file? What ever you added is not right at all. There is obviously a
date involved there.. I think you are trying to append the patch file to the
source file, that is not correct, the patch file is an input to the patch
program that changes the source according to the information within the
diff/patch file.

Go back to the message with the tar attached and save the attachment
somewhere, like your home directory, change to that directory and issue the
following command:

tar xvzf MsAvgSupp.tar.gz

now

cp avg-* /opt/MailScanner/lib

Now the important part!

patch /opt/MailScanner/lib/MailScanner/SweepViruses.pm
./SweepVirusesAvg.diff

Now

patch /opt/MailScanner/etc/virus.scanners.conf
./virus.scanners.conf.avg.diff

Then edit MailScanner.conf to include avg (lower case) you your virus
scanner list


> -----Original Message-----
> From: MailScanner mailing list [mailto:MAILSCANNER at JISCMAIL.AC.UK]On
> Behalf Of Rob Freeman
> Sent: Friday, April 02, 2004 10:42 AM
> To: MAILSCANNER at JISCMAIL.AC.UK
> Subject: Re: AVG Support
>
>
> I guess I am not so lucky, I am having troubles getting the
> SweepViruses.pm
> to work.  I added the revisions to the bottom of the file, but
> then it hates
> me.
>
>
>          MailScanner:       Number found where operator expected at
> /usr/lib/MailScanner/MailScanner/SweepViruses.pm line 2424, near "Apr  1"
>         (Do you need to predeclare Apr?)
> Number found where operator expected at
> /usr/lib/MailScanner/MailScanner/SweepViruses.pm line 2424, near "1 14"
>         (Missing operator before  14?)
> Number found where operator expected at
> /usr/lib/MailScanner/MailScanner/SweepViruses.pm line 2424, near "36 2004"
>         (Missing operator before  2004?)
> Number found where operator expected at
> /usr/lib/MailScanner/MailScanner/SweepViruses.pm line 2425, near "Apr  1"
>         (Do you need to predeclare Apr?)
> Number found where operator expected at
> /usr/lib/MailScanner/MailScanner/SweepViruses.pm line 2425, near "1 14"
>         (Missing operator before  14?)
> Number found where operator expected at
> /usr/lib/MailScanner/MailScanner/SweepViruses.pm line 2425, near "21 2004"
>         (Missing operator before  2004?)
> syntax error at /usr/lib/MailScanner/MailScanner/SweepViruses.pm
> line 2424,
> near "Apr  1"
> Unmatched right curly bracket at
> /usr/lib/MailScanner/MailScanner/SweepViruses.pm line 2432, at end of line
> Compilation failed in require at /usr/sbin/MailScanner line 59.
> BEGIN failed--compilation aborted at /usr/sbin/MailScanner line 59.
>
>
> ----- Original Message -----
> From: "Quintin Giesbrecht" <quinting at HSD.CA>
> To: <MAILSCANNER at JISCMAIL.AC.UK>
> Sent: Friday, April 02, 2004 9:22 AM
> Subject: Re: AVG Support
>
>
> Thanks a lot!  That worked great!
>
> Q
>
> -----Original Message-----
> From: Rick Cooper [mailto:rcooper at DWFORD.COM]
> Sent: April 1, 2004 2:30 PM
> To: MAILSCANNER at JISCMAIL.AC.UK
> Subject: Re: AVG Support
>
>
> How about .tar.gz then the perms will be correct out of the box. Sorry
> about
> that I really am embarrassed to be using this pile but such is life for
> now.
>
> I would have sent them as an archive originally but I wasn't sure if the
> list allowed binary attachments or not, and I haven't the time to put
> them
> up for download right now.
>
> Rick
>
> > -----Original Message-----
> > From: MailScanner mailing list [mailto:MAILSCANNER at JISCMAIL.AC.UK]On
> > Behalf Of Rob Freeman
> > Sent: Thursday, April 01, 2004 3:14 PM
> > To: MAILSCANNER at JISCMAIL.AC.UK
> > Subject: Re: AVG Support
> >
> >
> > Is there any way to get this is a zip format?  The wonderful world of
> IE
> > express blocked each one of those attachments.
> >
> > Rob
> > ----- Original Message -----
> > From: "Rick Cooper" <rcooper at DWFORD.COM>
> > To: <MAILSCANNER at JISCMAIL.AC.UK>
> > Sent: Thursday, April 01, 2004 2:02 PM
> > Subject: Re: AVG Support
> >
> >
> > > Attached are diff files to add avg support to MS as well as the
> wrapper
> > and
> > > auto-update scripts. You will, of course, need to chmod 0755 the two
> > scripts
> > > and put them in the /opt/MailScanner/lib/MailScanner directory. It
> uses
> > > avgscan not the daemon so that need not be running for it to
> > work (unless
> > > you want on-demand)
> > >
> > > I only had eicar stuff to test it with and Heuristic scan is not
> enabled
> > by
> > > default. The default scan settings are -arc -ext=* so it will
> > descend into
> > > subdirs and scan all files.
> > > If you have your stuff in non-standard places then you need to edit
> > > virus.scanner.conf, the avg-wrapper and avg-autoupdate scripts
> > to point to
> > > the right packagedir
> > >
> > > Backup your files before applying the patches of course, add the
> > auto-update
> > > script your cron jobs and add "avg" to your Virus Scanners = avg
> [other
> > > scanners] line in MailScanner.conf
> > >
> > > feel free to email if you have questions/problems
> > >
> > > Rick
> > >
> > > > -----Original Message-----
> > > > From: MailScanner mailing list
> [mailto:MAILSCANNER at JISCMAIL.AC.UK]On
> > > > Behalf Of Quintin Giesbrecht
> > > > Sent: Thursday, April 01, 2004 12:52 PM
> > > > To: MAILSCANNER at JISCMAIL.AC.UK
> > > > Subject: Re: AVG Support
> > > >
> > > >
> > > > I would also volunteer to beta test.
> > > >
> > > > -----Original Message-----
> > > > From: Rob Freeman [mailto:sysadmin at FLEETONE.COM]
> > > > Sent: April 1, 2004 11:31 AM
> > > > To: MAILSCANNER at JISCMAIL.AC.UK
> > > > Subject: Re: AVG Support
> > > >
> > > >
> > > > >Do you know when MailScanner will support AVG by grisoft?
> > > > >www.grisfoft.com
> > > >
> > > > >Thanks
> > > >
> > > > >Quintin
> > > >
> > > > I would also be interested in the AVG virus for MailScanner and
> could
> > > > help
> > > > beta test it.
> > > >
> > > > Rob
> > > >
> > > > --
> > > > This message has been scanned for viruses and
> > > > dangerous content by MailScanner, and is
> > > > believed to be clean.
> > > >
> > > >
> > > >
> > >
> >
> > --
> > This message has been scanned for viruses and
> > dangerous content by MailScanner, and is
> > believed to be clean.
> >
> >
> >
>
> --
> This message has been scanned for viruses and
> dangerous content by MailScanner, and is
> believed to be clean.
>
>
>



More information about the MailScanner mailing list