• mailscan on linux

    By Bjarte Lunde 2 decades ago

    Hi there…



    I use mailscan on linux, but it seems to crash every time it finds virus in mail.



    Here is the log:

    03/12/2004 12:13:53 PM MailScan-Addin: Calling scanner with "/usr/local/bin/f-prot"

    03/12/2004 12:13:53 PM MailScan-Addin: Calling Param "-dumb -archive -silent [Filename]"

    03/12/2004 12:13:53 PM MailScan-Addin: ReturnCode0: 0 - Text: "(Virusscanned by Mailscan)"

    03/12/2004 12:13:53 PM MailScan-Addin: ReturnCode1: 1 - Text: "not set"

    03/12/2004 12:13:53 PM MailScan-Addin: ReturnCode2: 2 - Text: "not set"

    03/12/2004 12:13:53 PM MailScan-Addin: ReturnCode3: 3 - Text: "VIRUS FOUND (by Mailscan) !!"

    03/12/2004 12:13:53 PM MailScan-Addin: ReturnCode4: 4 - Text: "not set"

    03/12/2004 12:13:53 PM MailScan-Addin: ReturnCode5: 5 - Text: "not set"

    03/12/2004 12:13:53 PM MailScan-Addin: ReturnCode6: 6 - Text: "not set"

    03/12/2004 12:13:53 PM MailScan-Addin: ReturnCode7: 7 - Text: "not set"

    03/12/2004 12:13:53 PM MailScan-Addin: ReturnCode8: 8 - Text: "(Files coudn't be scanned by Mailscan)"

    03/12/2004 12:13:53 PM MailScan-Addin: Configuration Error EncryptedMail: "(Not scanned becausse of encryption by Mailscan)"

    03/12/2004 12:13:53 PM MailScan-Addin: Other Configuration Error: "ERROR OCCURED!! (scanning for viruses by Mailscan)"

    03/12/2004 12:13:53 PM MailScan-Addin: Initialization complete.

    03/12/2004 12:13:53 PM MailScan-Addin: Searching for Mailboxes.

    03/12/2004 12:13:53 PM MailScan-Addin: No Multiple Mailboxes.

    03/12/2004 12:13:53 PM MailScan-Addin: Startup Completed.





    03/12/2004 12:13:12 PM Router: Message 003D9E8B delivered to xxxxx

    03/12/2004 12:13:16 PM

    03/12/2004 12:13:16 PM Scanning Attachment

    03/12/2004 12:13:16 PM MailScan-Addin: Filename my_details.pif

    03/12/2004 12:13:16 PM MailScan-Addin: Creating Directory/local/notesdata/MailScan-82978

    03/12/2004 12:13:16 PM MailScan-Addin: Extracting to/local/notesdata/MailScan-82978/my_details.pif

    03/12/2004 12:13:16 PM Starting scanner with command:

    03/12/2004 12:13:16 PM "/usr/local/bin/f-prot" -dumb -archive -silent "/local/notesdata/MailScan-82978/"



    Note item not found



    03/12/2004 12:13:17 PM Returncode Virscan: 3

    03/12/2004 12:13:17 PM rc3 found

    03/12/2004 12:13:17 PM MailScan-Addin: Manipulating Subject with rc3

    03/12/2004 12:13:17 PM MailScan-Addin: IDEnumerate-Error with Mailbox Nr. 0



    And then it crashes…

    What is the problem?



    Cheers,

    • Bjarte
    • Questions....

      By Hans-Georg Franke 2 decades ago

      Hi,



      does MailScan really crash (together wirh the server) or only stop working? (If you can read the last message the task chould only return…)

      Is this only this mail you got this error? Does this mail has an "Body"-Item?



      Greetings



      Hans-Georg

      • answers

        By Bjarte Lunde 2 decades ago

        The server doesn't crash, only mailscan.

        It's not only one mail that crashes the task. Seems like every mail it scans…



        Cheers,

        • Bjarte
        • More questions

          By Hans-Georg Franke 2 decades ago

          Hi Biarte,

          does these mails have a "From"-Item? Can you send me your configuration and perhaps one of these mails as a copy in a notesdatabase?

          Greetings



          Hans-Georg

          HansGeorgFranke@yahoo.de

          • New version

            By Bjarte Lunde 2 decades ago

            03/22/2004 09:45:12 AM MailScan-Addin: Found 1 Attachment

            03/22/2004 09:45:12 AM

            03/22/2004 09:45:12 AM MailScan-Addin: Scanning Attachment

            03/22/2004 09:45:12 AM MailScan-Addin: Filename klemme_tedd.jpg

            03/22/2004 09:45:12 AM MailScan-Addin: Creating Directory/local/notesdata//86482

            03/22/2004 09:45:12 AM MailScan-Addin: Extracting to/local/notesdata//86482/klemme_tedd.jpg

            03/22/2004 09:45:12 AM MailScan-Addin: Cleaning directory/local/notesdata//86482

            03/22/2004 09:45:12 AM MailScan-Addin: Starting scanner with command:

            03/22/2004 09:45:12 AM "/usr/local/bin/f-prot" -dumb -archive -silent "/local/notesdata//86482/"

            Stack base = 0xbfffdd14, Stack size = 3820 bytes

            Fatal Error signal = 0x0000000b PID/TID = 11752/16384

            Mon Mar 22 10:45:14 Running NSD





            This is what happens when i start the new version of mailscan…

            The server crashes big time.

            • Please publish mailscan.log

              By Hans-Georg Franke 2 decades ago

              Hi Bjarne,

              please show me the last twenty entries aus "/local/notesdata/mailscan.log".

              Do you use the new conifguration template and configure the working directory of mailscan?

              Greetings Hans-Georg