In the process of upgrading my qmail-scanner from an earlier (much earlier) version to 1.12 I noticed something that I thought might be worth reporting here. Please forgive me if this has been posted already, I could not find it during my attempts.
In the configure script, the section: ==== if test -x $dir/kavscanner then if [ "`echo $FIND_SCANNERS|grep ' kavscanner '`" != "" ]; then if [ "`$dir/kavscanner $TMP_DIR 2>&1|grep -i test`" != "" ]; then AVPSCAN="${AVPSCAN:-$dir/kavscanner}" INSTALLED_SCANNERS="$INSTALLED_SCANNERS kavscanner" fi fi ======== Spawns a shell that calls kaspersky's kavscanner to scan the temp directory. The problem is that without a -Y command line parameter, the kavscanner promps the use for an action to be taken on the test virus file (EICAR-Test-file) placed in the /tmp directory. Since this "prompting" is taking place in the background as a child process, there is no way to answer the prompt and tell kavscanner what to do. Simply changing that section to: ========= if test -x $dir/kavscanner then if [ "`echo $FIND_SCANNERS|grep ' kavscanner '`" != "" ]; then if [ "`$dir/kavscanner -Y $TMP_DIR 2>&1|grep -i test`" != "" ]; then AVPSCAN="${AVPSCAN:-$dir/kavscanner}" INSTALLED_SCANNERS="$INSTALLED_SCANNERS kavscanner" fi fi ========= Hope this is useful to someone. Keep up the great work, Jason... --- Bill Arlofski Unix/Novell Systems Administrator The Hotchkiss School [EMAIL PROTECTED] 860-435-3140 _______________________________________________________________ Don't miss the 2002 Sprint PCS Application Developer's Conference August 25-28 in Las Vegas - http://devcon.sprintpcs.com/adp/index.cfm?source=osdntextlink _______________________________________________ Qmail-scanner-general mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/qmail-scanner-general