• Crash guard blocks spam check when same Message-ID received twice

    By Nick Radov 2 decades ago

    The crash guard feature in the gCheckDocument procedure stores the current Message-ID beging checked in a profile document. That way when the procedure is called again if the current Message-ID value is the same as that stored in the profile document then we know that the agent might have crashed, or triggered a Router task crash, the previous time it was executing. When that occurs the procedure will immediately stop so as to avoid the risk of another crash.

    When the procedure completes it clears the profile document Message-ID. However, it seems like Domino is caching the profile document item values and so when one is cleared the agent may still see it as set. Thus if two pieces of spam arrive one after the other with identical Message-ID values then the agent will skip checking the second one.

    Use an environment variable to store the Message-ID rather than a profile document.