How can I log whether MailScanner is running the Antivirus app? - Answered

Julian Field mailscanner at ecs.soton.ac.uk
Mon Feb 16 08:55:57 GMT 2004


At 07:12 16/02/2004, you wrote:
>   #! /bin/sh
>   # wrapper for virus scan - to make it work on RH9
>   LD_PRELOAD=/lib/libc.so.6 /usr/local/uvscan/uvscan.x $1 $2 $3 $4 $5 $6
>$7 $8 $9

Instead of all those $1 etc numbers, you should put this

LD_PRELOAD=/lib/libc.so.6 /usr/local/uvscan/uvscan.x "$@"

That will handle all the quoting, spaces, etc properly.
--
Julian Field
www.MailScanner.info
MailScanner thanks transtec Computers for their support

PGP footprint: EE81 D763 3DB0 0BFD E1DC 7222 11F6 5947 1415 B654



More information about the MailScanner mailing list