• Problems with return codes

    By Ermano Valentinelli 2 decades ago

    Hi,



    i have installed MailScan on Domino 6 with VirusScan.



    The return code for virus found from this AV is 13.

    I put in the configuration database the code 13 for "Returncode für "Virus gefunden", but still the MainScan uses the code 3.



    How can i solve this problem?



    Thanks!

    • Some Questions

      By Hans-Georg Franke 2 decades ago

      Which version do you use?

      If you load mailscan at the console with "lo mailscan" what is the output?

      What is the output, if mailscan scans for viruses?



      Greetings Hans-Georg

      • Version

        By Ermano Valentinelli 2 decades ago

        I have installed Mailscan 0.91a on Lotus Domino 6.01CF1, i will plan to upgrade to 6.51, but not immediatly.



        This is the log:



        29/02/2004 13.26.11 MailScan Configuration: Aufruf des Scanners mit "C:\Program Files\Common Files\Network Associates\VirusScan Engine\4.0.xx\SCAN.EXE"

        29/02/2004 13.26.11 MailScan Configuration: Aufrufparameter "/TIMEOUT 60/DEL/UNZIP/PANALYZE/ANALYZE/MANALYZE/NOBOOT/NOMEM [Name der Datei]"

        29/02/2004 13.26.11 MailScan Configuration: ReturnCode0: 0 - Text: ""

        29/02/2004 13.26.11 MailScan Configuration: ReturnCode3: 3 - Text: "(VIRUS FOUND)"

        29/02/2004 13.26.11 MailScan Configuration: ReturnCode8: 8 - Text: "(Files coudn't be scanned)"

        29/02/2004 13.26.11 MailScan Configuration: Error EncryptedMail: "(Not scanned)"

        29/02/2004 13.26.11 MailScan Configuration: Other Error: "(ERROR OCCURED)"

        29/02/2004 13.26.11 MailScan: Initialization complete.

        29/02/2004 13.26.11 MailScan: Searching for Mailboxes.

        29/02/2004 13.26.11 MailScan: No Multiple Mailboxes.

        29/02/2004 13.26.11 MailScan: Startup Completed.

        29/02/2004 13.28.00 Mailscan: Starting Event

        29/02/2004 13.28.00 Mailscan: Handling Event

        29/02/2004 13.28.14 Mailscan: Filename eicarcom2.zip

        29/02/2004 13.28.14 Mailscan: Creating Directory C:\Lotus\Domino\Data\69150

        29/02/2004 13.28.14 Mailscan: Extracting to C:\Lotus\Domino\Data\69150\eicarcom2.zip

        29/02/2004 13.28.14 ""C:\Program Files\Common Files\Network Associates\VirusScan Engine\4.0.xx\SCAN.EXE"/TIMEOUT 60/DEL/UNZIP/PANALYZE/ANALYZE/MANALYZE/NOBOOT/NOMEM "C:\Lotus\Domino\Data\69150\eicarcom2.zip""

        29/02/2004 13.28.15 Returncode Virscan: 13

        29/02/2004 13.28.15 Other Error

        29/02/2004 13.28.15 Mailscan: Manipulating Subject with errorfound

        29/02/2004 13.28.15 Mailscan: Starting Event

        29/02/2004 13.28.15 Mailscan: Handling Event

        29/02/2004 13.28.20 Mailscan: Starting Event

        29/02/2004 13.28.20 Mailscan: Handling Event



        Thank you for the support!

        • Log

          By Ermano Valentinelli 2 decades ago

          Reading the log i saw that the code for the virus foud still appear 3, but i have put in the configuration database 13.



          Any idea?

          • Fixed in 0.92beta

            By Hans-Georg Franke 2 decades ago
    • the same

      By Danial Zamoldinow 2 decades ago

      Actually, I have the same problem, i've managed it temporarily by making the .bat file, which manages the return codes from antivirus and returns what mailscan expects (that's because DrWeb returns plenty much of info and uses all 255 rc's)

      Startup info like this:

      24.02.2004 10:23:01 Mailscan: In MainEntryPoint() - Registered

      24.02.2004 10:23:01 MailScan: Startup……

      24.02.2004 10:23:01 MailScan Configuration: Aufruf des Scanners mit "d:\bin\drweb\DRWEBWCL.EXE"

      24.02.2004 10:23:01 MailScan Configuration: Aufrufparameter "/INI:D:\bin\drweb\drweb32.ini [Name der Datei]"

      24.02.2004 10:23:01 MailScan Configuration: ReturnCode0: 0 - Text: ""

      24.02.2004 10:23:01 MailScan Configuration: ReturnCode3: 3 - Text: "(VIRUS FOUND)"

      24.02.2004 10:23:01 MailScan Configuration: ReturnCode8: 8 - Text: "(VIRUS FOUND IN ARCHIVE)"

      24.02.2004 10:23:01 MailScan Configuration: Error EncryptedMail: "(NOT SCANNED)"

      24.02.2004 10:23:02 MailScan Configuration: Other Error: "(ERROR OCCURED)"

      24.02.2004 10:23:02 MailScan: Initialization complete.

      24.02.2004 10:23:02 MailScan: Searching for Mailboxes.

      24.02.2004 10:23:02 MailScan: No Multiple Mailboxes.

      24.02.2004 10:23:02 MailScan: Startup Completed.



      and after scan reported an unknown error.