Sophos sweep script
smohan at VSNL.COM
Thu Jan 23 08:51:43 GMT 2003
You can do it from commandline as under. Let us assume you want to scan
files recursively under /data and mail them out to a at bc.com. Assuming Linux
OS here with bash.
On bash prompt give:
find /data -type f | xargs ./checkout.sh
sweep $1 (give all arguments necessary here to clean/ delete/ disinfect etc)
[ -e $1 ] && mutt a at bc.com -a $1 -s "Scanned file - $1" < msgtxt
msgtext should have the standard body of the message.
From: MailScanner mailing list [mailto:MAILSCANNER at JISCMAIL.AC.UK]On
Behalf Of Wayne
Sent: 23 January 2003 13:57
To: MAILSCANNER at JISCMAIL.AC.UK
Subject: Sophos sweep script
Does anyone have a script that I can use to run sweep to scan files on the
drive and then email the out ?
More information about the MailScanner