• Notes / Domino 8

    By Reid J Canavan 2 decades ago

    I adjusted the init script found in the new mail delivery agent so that the Agent name is declared and then the name assigned to a string variable. This seems to have corrected the issue of object variable not found. The domino backend server is also running on Domino 8.



    Here is a snippet of the code added:



    Dim nseAgent As NotesAgent

    Dim nseAgentName As String



    Set nseAgent = nse.CurrentAgent

    Set nseAgentName = nseAgent.Name



    Change where nse.CurrentAgent.Name is found to nseAgentName.



    Also, ensure that you have signed the database and set the agent in the template file to run as yourself to prevent access control issues for running a command line event from the server.

    • Object variable not set?

      By Nick Radov 2 decades ago

      I think I'm missing the context here. Are you saying that you found the fix for a bug? Where are you getting an "Object variable not set" error?

      • Error in agent on new mail arrival

        By Reid J Canavan 2 decades ago

        This error was reported by the new mail arrival agent. I attached the OpenLog script so that I could discover what line the error occurred on. I traced it back and tried adjusting the code as shown previously and the error went away.



        I am running spamassassin on Linux (SLES 10 SP1 server).



        It appears to work using both the serial and the spamd methods.