4.54.2 & Sophos on freeBSD
Julian Field
MailScanner at ecs.soton.ac.uk
Tue May 23 14:11:56 UTC 2006
Here is a new sophos-wrapper that should detect Sophos V4 and V5
properly.
--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
MailScanner thanks transtec Computers for their support.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: sophos-wrapper.gz
Type: application/x-gzip
Size: 962 bytes
Desc: not available
URL: <http://lists.mailscanner.info/pipermail/mailscanner-beta/attachments/20060523/d517c295/attachment.bin>
-------------- next part --------------
On 23 May 2006, at 14:42, Jeff A. Earickson wrote:
> I commented out the first two if blocks in sophos-wrapper and Sophos
> updates worked again. Our Fearless Leader (tm) will have to suggest
> a fix to sophos-wrapper.
>
> Jeff Earickson
>
> On Tue, 23 May 2006, Martin Hepworth wrote:
>
>> Date: Tue, 23 May 2006 14:24:50 +0100
>> From: Martin Hepworth <martinh at solid-state-logic.com>
>> Reply-To: MailScanner Beta-testers <mailscanner-
>> beta at lists.mailscanner.info>
>> To: 'MailScanner Beta-testers' <mailscanner-
>> beta at lists.mailscanner.info>
>> Subject: RE: 4.54.2 & Sophos on freeBSD
>> Jeff
>>
>> Agreed - this doesn't work for old V3/v stuff only V5////
>>
>> I swapped the savscan for sweep in the sophos-wrapper and
>> everythings back
>> to normal..
>>
>> --
>> Martin Hepworth
>> Snr Systems Administrator
>> Solid State Logic
>> Tel: +44 (0)1865 842300
>>
>>> -----Original Message-----
>>> From: mailscanner-beta-bounces at lists.mailscanner.info
>>> [mailto:mailscanner-
>>> beta-bounces at lists.mailscanner.info] On Behalf Of Jeff A. Earickson
>>> Sent: 23 May 2006 13:44
>>> To: MailScanner Beta-testers
>>> Subject: RE: 4.54.2 & Sophos on freeBSD
>>>
>>> Julian,
>>>
>>> Turned on debugging in the shell scripts and running
>>>
>>> /opt/MailScanner/lib/sophos-wrapper /opt/sophos -IsItInstalled
>>>
>>> by hand revealed:
>>>
>>> PackageDir=/opt/sophos
>>> + shift
>>> + [ x-IsItInstalled = x-IsItInstalled ]
>>> + [ -x /opt/sophos/bin/savscan ]
>>> + exit 1
>>>
>>> Well, savscan must be a Sophos 5 feature. Since I'm running
>>> Sophos 4
>>> on Solaris 10, only sweep is in that directory. There doesn't
>>> seem to
>>> be any test at the top of sophos-wrapper to figure out if v4 or
>>> v5 is
>>> installed. Something like:
>>>
>>> if [ -x $PackageDir/bin/sweep ]; then
>>> running version 4
>>> else if [ -x $PackageDir/bin/savscan ]; then
>>> running version 5
>>> else
>>> i am confused
>>> fi
>>>
>>> Right???
>>>
>>> Jeff Earickson
>>> Colby College
>>>
>>> On Tue, 23 May 2006, Martin Hepworth wrote:
>>>
>>>> Date: Tue, 23 May 2006 12:19:52 +0100
>>>> From: Martin Hepworth <martinh at solid-state-logic.com>
>>>> Reply-To: MailScanner Beta-testers <mailscanner-
>>> beta at lists.mailscanner.info>
>>>> To: 'MailScanner Beta-testers' <mailscanner-
>>>> beta at lists.mailscanner.info>
>>>> Subject: RE: 4.54.2 & Sophos on freeBSD
>>>>
>>>> Jeff
>>>>
>>>> Oh good I'm glad it's not just me then ;-)
>>>>
>>>> It's really odd - it's failing on this test...
>>>>
>>>> if ${WRAPPER} "${PACKAGEDIR}" -IsItInstalled
>>>>
>>>> (line 34 of update_virus_scanners).
>>>>
>>>> It works fine for clamav, but not for sophos....
>>>>
>>>>
>>>>
>>>> --
>>>> Martin Hepworth
>>>> Snr Systems Administrator
>>>> Solid State Logic
>>>> Tel: +44 (0)1865 842300
>>>>
>>>>> -----Original Message-----
>>>>> From: mailscanner-beta-bounces at lists.mailscanner.info
>>> [mailto:mailscanner-
>>>>> beta-bounces at lists.mailscanner.info] On Behalf Of Jeff A.
>>>>> Earickson
>>>>> Sent: 23 May 2006 12:13
>>>>> To: MailScanner Beta-testers
>>>>> Subject: Re: 4.54.2 & Sophos on freeBSD
>>>>>
>>>>> Hmmm, just discovered the same thing with 4.54.2 on Solaris 10,
>>>>> will
>>>>> investigate when I get to work this morning...
>>>>>
>>>>> Jeff Earickson
>>>>> Colby College
>>>>>
>>>>> On Tue, 23 May 2006, Martin Hepworth wrote:
>>>>>
>>>>>> Date: Tue, 23 May 2006 09:33:11 +0100
>>>>>> From: Martin Hepworth <martinh at solid-state-logic.com>
>>>>>> Reply-To: MailScanner Beta-testers <mailscanner-
>>>>> beta at lists.mailscanner.info>
>>>>>> To: mailscanner-beta at lists.mailscanner.info
>>>>>> Subject: 4.54.2 & Sophos on freeBSD
>>>>>>
>>>>>> Jules
>>>>>>
>>>>>> After upgrading to 4.54.2 on the 12th I've just noticed no Sophos
>>>>> Updates
>>>>>> are happening..
>>>>>>
>>>>>> Looking at the logs it's not even seeing the Sophos to
>>>>>> upgrade.....
>>>>>>
>>>>>> --
>>>>>> Martin Hepworth
>>>>>> Snr Systems Administrator
>>>>>> Solid State Logic
>>>>>> Tel: +44 (0)1865 842300
>>>>>>
>>>>>>
>>>>>>
>>>>>> *****************************************************************
>>>>>> *****
>>>>>>
>>>>>> This email and any files transmitted with it are confidential and
>>>>>> intended solely for the use of the individual or entity to
>>>>>> whom they
>>>>>> are addressed. If you have received this email in error please
>>>>>> notify
>>>>>> the system manager.
>>>>>>
>>>>>> This footnote confirms that this email message has been swept
>>>>>> for the presence of computer viruses and is believed to be clean.
>>>>>>
>>>>>> *****************************************************************
>>>>>> *****
>>>>>>
>>>>>> --
>>>>>> MailScanner-Beta mailing list
>>>>>> mailscanner-beta at lists.mailscanner.info
>>>>>> http://lists.mailscanner.info/mailman/listinfo/mailscanner-beta
>>>>>>
>>>>>> Before posting, read http://wiki.mailscanner.info/posting
>>>>>>
>>>>>> Support MailScanner development - buy the book off the website!
>>>>>>
>>>>> --
>>>>> MailScanner-Beta mailing list
>>>>> mailscanner-beta at lists.mailscanner.info
>>>>> http://lists.mailscanner.info/mailman/listinfo/mailscanner-beta
>>>>>
>>>>> Before posting, read http://wiki.mailscanner.info/posting
>>>>>
>>>>> Support MailScanner development - buy the book off the website!
>>>>
>>>>
>>>> *******************************************************************
>>>> ***
>>>>
>>>> This email and any files transmitted with it are confidential and
>>>> intended solely for the use of the individual or entity to whom
>>>> they
>>>> are addressed. If you have received this email in error please
>>>> notify
>>>> the system manager.
>>>>
>>>> This footnote confirms that this email message has been swept
>>>> for the presence of computer viruses and is believed to be clean.
>>>>
>>>> *******************************************************************
>>>> ***
>>>>
>>>> --
>>>> MailScanner-Beta mailing list
>>>> mailscanner-beta at lists.mailscanner.info
>>>> http://lists.mailscanner.info/mailman/listinfo/mailscanner-beta
>>>>
>>>> Before posting, read http://wiki.mailscanner.info/posting
>>>>
>>>> Support MailScanner development - buy the book off the website!
>>>>
>>> --
>>> MailScanner-Beta mailing list
>>> mailscanner-beta at lists.mailscanner.info
>>> http://lists.mailscanner.info/mailman/listinfo/mailscanner-beta
>>>
>>> Before posting, read http://wiki.mailscanner.info/posting
>>>
>>> Support MailScanner development - buy the book off the website!
>>
>>
>> *********************************************************************
>> *
>>
>> This email and any files transmitted with it are confidential and
>> intended solely for the use of the individual or entity to whom they
>> are addressed. If you have received this email in error please notify
>> the system manager.
>>
>> This footnote confirms that this email message has been swept
>> for the presence of computer viruses and is believed to be clean.
>>
>> *********************************************************************
>> *
>>
>> --
>> MailScanner-Beta mailing list
>> mailscanner-beta at lists.mailscanner.info
>> http://lists.mailscanner.info/mailman/listinfo/mailscanner-beta
>>
>> Before posting, read http://wiki.mailscanner.info/posting
>>
>> Support MailScanner development - buy the book off the website!
>>
> --
> MailScanner-Beta mailing list
> mailscanner-beta at lists.mailscanner.info
> http://lists.mailscanner.info/mailman/listinfo/mailscanner-beta
>
> Before posting, read http://wiki.mailscanner.info/posting
>
> Support MailScanner development - buy the book off the website!
--
Julian Field
www.MailScanner.info
Buy the MailScanner book at www.MailScanner.info/store
PGP footprint: EE81 D763 3DB0 0BFD E1DC 7222 11F6 5947 1415 B654
More information about the MailScanner-Beta
mailing list