I was wrong...Sophos still not working.

John L johnl at OREGONISONLINE.NET
Tue Sep 30 19:08:47 IST 2003


This worked fine.  I now get Sophos-wrapper to run.  Thank you!

i had to modify the sophos-wrapper in this way

$ which sweep
/usr/local/bin/sweep

$ ls /usr/local/sav
374_ides-20030929.zip  icmess.dat    simulekc.ide  vdl05.vdb  vdl11.vdb
backsm-a.ide           jsurf-b.ide   swpmess.dat   vdl06.vdb  vdl12.vdb
blaxe-a.ide            lovgater.ide  vdl01.vdb     vdl07.vdb  vdl13.vdb
dumaru-b.ide           opaservd.ide  vdl02.vdb     vdl08.vdb
vdl-3.74.dat
dumarue.ide            oragon-a.ide  vdl03.vdb     vdl09.vdb  vdl.dat
gibe-f.ide             randex-g.ide  vdl04.vdb     vdl10.vdb  yaha-w.ide



$ grep -3 "PackageDir" /usr/lib/MailScanner/sophos-wrapper
# Modified for solaris by CJG
# Then tweaked for heron by JKF again

#PackageDir=/usr/local/Sophos
PackageDir=/usr/local
prog=sweep # `basename $0`

#SAV_IDE=$PackageDir/ide
SAV_IDE=$PackageDir/sav
LD_LIBRARY_PATH=$PackageDir/lib
LANG=english
export SAV_IDE
export LD_LIBRARY_PATH
export LANG

if [ "x$1" = "x-IsItInstalled" ]; then
  [ -x ${PackageDir}/bin/$prog ] && exit 0
  exit 1
fi

exec ${PackageDir}/bin/$prog "$@"


--
shrek-m



More information about the MailScanner mailing list