• Sophos

    By Juergen Hoffmann 2 decades ago

    Hallo,



    can I use MailScan with Sophos AntiVirus?



    Thanks

    • Yes, because ...

      By Hans-Georg Franke 2 decades ago

      sophos has a command-line interface: SAV32CLI.EXE



      The sophos website says:

      SAV32CLI, the command line scanner for Windows NT, Windows 2000, Windows XP and Windows 2003, is installed automatically as part of Sophos Anti-Virus for Windows NT/2000/XP/2003.



      For further information, at the command prompt, type


         SAV32CLI -H<br/>
      



      The SAV32CLI help information will be displayed.



      Try this return codes (unix-version)

      4 Error codes

      Sophos Anti-Virus returns error codes if there is an error or if a virus is

      found.

      0 If no errors are encountered and no viruses are found.

      1 If the user interrupts the execution by pressing ‘Ctrl’+‘c’.

      2 If some error preventing further execution is discovered.

      3 If viruses or virus fragments are discovered.

      4.1 Extended error codes

      A different set of error codes are returned if the sweep command is run with

      the -eec qualifier.

      0 If no errors are encountered and no viruses are found.

      8 If survivable errors have occurred.

      16 If password-protected files have been found. (They are not scanned.)

      20 If viruses have been found and disinfected.

      24 If viruses have been found and not disinfected.

      28 If viruses have been found in memory.

      32 If there has been an integrity check failure.

      36 If unsurvivable errors have occurred.

      40 If execution has been interrupted.



      Greetings

      Hans-Georg

      • Sophos

        By Juergen Hoffmann 2 decades ago

        Thanks,



        I tested many configuration with Sophos, but no success.

        The Virus Scanner didn´t find a Virus.

        Here´s the log:



        11.02.2005 17:36:02: Start with new Notes

        11.02.2005 17:36:02:

        11.02.2005 17:36:02: Found 1 Attachment

        11.02.2005 17:36:02: Scanning Attachment

        11.02.2005 17:36:02: Filename eicar.com

        11.02.2005 17:36:02: Creating Directory d:\Lotus\Domino\Data\MailScan\2470

        11.02.2005 17:36:02: Cleaning directory d:\Lotus\Domino\Data\MailScan\2470

        11.02.2005 17:36:02: Extracting to
        d:\Lotus\Domino\Data\MailScan\2470\eicar.com from eicar.com

        11.02.2005 17:36:02: Starting scanner with command:

        11.02.2005 17:36:02: ""C:\Programme\Sophos SWEEP for NT\sav32cli.exe" -nc -nb -rec -dn -eec -archive -all "d:\Lotus\Domino\Data\MailScan\2470\""

        11.02.2005 17:36:04: Returncode of virusscanner: 00

        11.02.2005 17:36:04: Processing returncode

        11.02.2005 17:36:04: Start of processRC

        11.02.2005 17:36:04: Processing Subject

        11.02.2005 17:36:04: Manipulating Subject by adding (kein Virus gefunden) for rc00 before=00

        11.02.2005 17:36:04: Processing Body

        11.02.2005 17:36:04: Manipulating Body by adding for rc00

        11.02.2005 17:36:04: Getting next attachment

        11.02.2005 17:36:04: Processing delete for returncode 00

        11.02.2005 17:36:04: Processing delete for returncode-index 00

        11.02.2005 17:36:04: Start of processDelete

        11.02.2005 17:36:04: Attachments ready

        11.02.2005 17:36:04: Removing directory d:\Lotus\Domino\Data\MailScan\2470

        11.02.2005 17:36:04:


        11.02.2005 17:36:04: processNote ready

        11.02.2005 17:36:04: *

        • Use Filename

          By Hans-Georg Franke 2 decades ago

          Hi,



          Sophos seems to have a problem using "d:\notesdata\mailscan\1470\" (inkl. hyphens) as a parameter. If you use the option filename it should work.



          Greetings from Germany

          Hans-Georg