Yup. I even deleted the file to see what happens. It creates the file but doesn't write anything to it.
-----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Liron Newman Sent: 05 February 2004 15:53 To: [EMAIL PROTECTED] Subject: [xmail] Re: Windows AV with sophos and XAV Are you sure xav.txt isn't open with notepad or in Windows Explorer or anything like that? Alex Young wrote: >Thanks, > its almost working now. For some reason is creates the xav.txt file >but doesn't write anything into it. Any ideas? > > > >-----Original Message----- >From: [EMAIL PROTECTED] >[mailto:[EMAIL PROTECTED] On Behalf Of Liron Newman >Sent: 05 February 2004 15:40 >To: [EMAIL PROTECTED] >Subject: [xmail] Re: Windows AV with sophos and XAV > >No, what I did was make XAV call this file instead of the AV program >(SAV32CLI.EXE in your case) and then sent myself a virus.. >Like this, in xav.ini: >AntivirusPath=c:\xav\avlog.bat >Alex Young wrote: > > > >>Hi, >> I guess I need to use this like batchfile.bat mesagage.file at the >>command prompt? >> >>D:\XMail\xmail\MailRoot\filters\xav>echo ---- 05/02/2004 15:20:16.98 >>---- shift >>echo Params: av.bat v.msg dir av.bat >>"C:\Progra~1\Sophos~1\SAV32CLI.EXE" >>av.bat v.msg echo SAV32CLI returned exit 0 1>>D:\xav.txt >>0>>D:\xav.txt >>The process cannot access the file because it is being used by another >>process. >> >>I changed the batch file to look like this: >>echo ---- %date% %time% ---->>D:\xav.txt shift echo Params: %0 %1 %2 >>%3 >>%4 >>%5 %6 %7 %8 %9>>D:\xav.txt dir %0>>D:\xav.txt >>"C:\Progra~1\Sophos~1\SAV32CLI.EXE" %0 %1 %2 %3 %4 %5 %6 %7 %8 %9 echo >>SAV32CLI returned %errorlevel%>>D:\xav.txt exit %errorlevel% >> >>It looks like it creates the xav.txt file but can not write into it >>because there is now a file called xav.txt under the root of D:\. >> >> >> >>-----Original Message----- >>From: [EMAIL PROTECTED] >>[mailto:[EMAIL PROTECTED] On Behalf Of Liron Newman >>Sent: 05 February 2004 15:08 >>To: [EMAIL PROTECTED] >>Subject: [xmail] Re: Windows AV with sophos and XAV >> >>What I did to debug these issues was to use an intermediate batchfile >>that looked something like this: >>---------------------------------------------------------------------- >>- >>----- >>---- >>echo ---- %date% %time% ---->>c:\xav\av.log shift echo Params: %0 %1 >>%2 >>%3 >>%4 %5 %6 %7 %8 %9>>c:\xav\av.log dir %0>>c:\xav\av.log "c:\Program >>Files\FSI\F-Prot\fpcmd.exe" %0 %1 %2 %3 %4 %5 %6 %7 %8 %9 echo FPCMD >>returned %errorlevel%>>c:\xav\av.log exit %errorlevel% >>---------------------------------------------------------------------- >>- >>----- >>---- >> >>And I just called it instead of the AV executable itself. >> >>Alex Young wrote: >> >> >> >> >> >>>Does anyone have any idea where I have gone wrong? Is it possible for >>>me to turn more logging on through XAV so it catches all the >>>comunications between itself and Sophos? >>> >>> >>> >>> >>> >>> >>> >>- >>To unsubscribe from this list: send the line "unsubscribe xmail" in >>the body of a message to [EMAIL PROTECTED] For general help: >>send the line "help" in the body of a message to >>[EMAIL PROTECTED] >> >> >> >>- >>To unsubscribe from this list: send the line "unsubscribe xmail" in >>the body of a message to [EMAIL PROTECTED] For general help: >>send the line "help" in the body of a message to >>[EMAIL PROTECTED] >> >> >> >> >> >> > > >- >To unsubscribe from this list: send the line "unsubscribe xmail" in the >body of a message to [EMAIL PROTECTED] For general help: send the >line "help" in the body of a message to [EMAIL PROTECTED] > > >- >To unsubscribe from this list: send the line "unsubscribe xmail" in the >body of a message to [EMAIL PROTECTED] For general help: send the >line "help" in the body of a message to [EMAIL PROTECTED] > > > > - To unsubscribe from this list: send the line "unsubscribe xmail" in the body of a message to [EMAIL PROTECTED] For general help: send the line "help" in the body of a message to [EMAIL PROTECTED] - To unsubscribe from this list: send the line "unsubscribe xmail" in the body of a message to [EMAIL PROTECTED] For general help: send the line "help" in the body of a message to [EMAIL PROTECTED]
