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