f-protwrapper modification ?

Julian Field mailscanner at ecs.soton.ac.uk
Mon Jul 15 14:08:49 IST 2002


At 17:31 17/04/2002, you wrote:
>On Thu, 4 Apr 2002 11:27:36 +0200
>Marc Perea <marc.perea at electronic-group.com> wrote:
>
> >
> > Here I copy an example output :
> >
> > At Thu Apr  4 02:56:10 2002 the virus scanner said:
> >    /opt/mailscanner/var/incoming/g340ti715079/enano.exe  Infection:
> W32/Hybris.worm.B
> >
> > I'm looking for a way to easyly remove the path to the file, so just
> appears as "file.ext" instead of /opt/mailscanner/var/incoming/XXXXXXX/file.ext
> >
> > Cheers,
> >
>
>Hello guys.
>
>This mail is only for f-prot users (I have no experience with any other
>Anti Viruses)
>
>To solve the problem above exposed, I've modified the f-protwrapper file
>that comes by default with the mailscanner package in this way :
>
>I've added this variable :
>HiddenPath=/opt/mailscanner/var
>
>And replaced the first line by the second one :
>exec ${PackageDir}/$Scanner $ScanOptions "$@"
>exec ${PackageDir}/$Scanner $ScanOptions "$@" | sed "s%$HiddenPath%%g"
>
>And voila! no more path revealing to anyone :-)
>
>Dear Julian Field : What do you think about including this option into the
>next f-protwrapper version ?

It's a configurable option in the new version (due out shortly).
--
Julian Field                Teaching Systems Manager
jkf at ecs.soton.ac.uk         Dept. of Electronics & Computer Science
Tel. 023 8059 2817          University of Southampton
                             Southampton SO17 1BJ



More information about the MailScanner mailing list