• IDEnumerate-Error with Mailbox Nr. 0

    By Johann Hjaltason 2 decades ago

    Setup: Domino 6.5.1 on RedHat 9 Linux using F-Prot



    Followup to my input from the 20th of April.



    Now the system runs "almost" like a charm! When I first installed Mailscan the "IDEnumerate-Error with Mailbox Nr.0" error was caused by the "CVS: Not initialized" error which halted the mailscanner immediatle. This was fixed by changing the LANG parameter in the notes user environment (see input from 20th of April for details). Since then the error popes up randomly, almost every day, much like described in the input from Jose M Rodriguez. As a "partial" solution to the problem (so mail doesn't get stuck in the mail.box for ever) I've created a program document in NAB that starts mailscan twice a day.



    I've collected data in the mailscan.log file from the beginning and the errors can be categorized in two types:

    • NoteUpdate Someone else modified this document at the same time




    • Examples:



      MailScan-Addin: Removing directory/local/notesdata/antivirus/64474

      MailScan-Addin: NoteUpdate Someone else modified this document at the same time

      MailScan-Addin: IDEnumerate-Error with Mailbox Nr. 0

      MailScan-Addin: Exiting …………..



      or



      MailScan-Addin: Removing directory/local/notesdata/antivirus/31438

      MailScan-Addin: processNote ready

      MailScan-Addin: IDEnumerate-Error with Mailbox Nr. 0

      MailScan-Addin: Exiting …………..



      The only thing in common for these two types is that a directory has just been removed. This is consistent with what can be found in Jose M Rodriguez's log file:



      MailScan-Addin: Removing directory D:\Lotus\Domino\Data\MailScan\793410

      MailScan-Addin: NoteUpdate Invalid or nonexistent document

      MailScan-Addin: IDEnumerate-Error with Mailbox Nr. 0

      MailScan-Addin: Exiting …………..



      Which contains the third error type:
    • NoteUpdate Invalid or nonexistent document



      In my logfile there is also some corrupted directory names:

      MailScan-Addin: Removing directory E|[@¼ÝãB üðA¸ÝãB



      This points to some memory problems, overwriting memory or wrong indexing.



      Hope the above analysis is usefull.



      Observation:

      Exiting Mailscan when an IDEnumerate error occurs is maybe to drastic behaviour. The ProcessNote function, where the error mostlikely occurs, could for example retry the action or ignor the error?

      Or the AddInMain() function that calls the IDEnumerate() function could restart the process (and thereby initialize all variables) or recreate the ID-Table (that contains the conflicted/invalid/nonexistent error document) and run the IDEnumerate() function again.



      Thanks for the initiative and a usefull Domino extension/addin.

      Johann
    • Hi Johann,

      By Hans-Georg Franke 2 decades ago

      can you send me one of the errornous documents? Or are these documents processed later correctly?

      Greetings Hans-Georg

      PS: I'm searching for the memory error. Do you configure to delete the infected attachment?

      • Two bugs?

        By Johann Hjaltason 2 decades ago

        It's not clear in my first posting but this might be two bugs.

        1st: the corrupted directory names -> memory error?

        2nd: the IDEnumerate error -> ??



        The documents are processed correctly when the mailscanner is restarted.

        So I don't have any errornous documents.



        I don't know how IDTables work but if they behave anything like Notes views the IDTable maybe needs to be "refreshed"? i.e. created again if there comes an IDEnumerate error?



        Thanks

        • Yes, possibly two errors

          By Hans-Georg Franke 2 decades ago

          Hi Johan,



          you are right: there are possibly two errors. At this time i can't find the memory error, but I am searching. The are fatal errors two.

          ID-ENumerate is something in processing the document. I will soon post a 1.0 beta with writing timestamps and traces of the variable "directory" to the log. Perhaps there is a better finding of the error.

          Greetings

          Hans-Georg

    • Seen on Win2K too

      By Jens Bruntt 2 decades ago

      On Win2K and Domino 6.5.1 I just experienced something similar to the reported error:



      MailScan-Addin: Removing directory c:\lot\domino\data\mailscan\839430

      MailScan-Addin: processNote ready

      MailScan-Addin: IDEnumerate-Error with Mailbox Nr. 0

      MailScan-Addin: Exiting …………..