Mail Forward Agent

I have a simple mail forwarding agent that was working then spontaneously stopped. What’s weird is if I use Run it works, but with Enable I get the following log:

Started running agent ‘Forward to Home’ on 07/17/2007 14:06:56

Running on new mail messages: 1 total

Found 1 document(s) that match search criteria

Sent mail for 0 document(s)

Done running agent

If I select Run it give same log except this line:

Sent mail for 1 document(s)

and the message is forwarded.

What happened?

The only solution I could find in the KB was in Chinese.

Thanks, Joe

Subject: Mail Forward Agent

Joe, could the “run as user” have been set or changed in the agent? Do you (your ID) have permission to run agents on the server. Also has the “run on server” changed? There’s a few things that could prevent it but to debug, if you have access to the server console. you can type:

tell amgr run “dbname” ‘agentname’

(use the double and single quotes just like above)

And then observe the immediate error that comes back.

Subject: RE: Mail Forward Agent

It’s been working for years then over the weekend it stopped.I looked in properties and couldn’t find a “run as user.”

To rule things out I created a new agent and it has the same problem.

My Notes is a client on a corporate server so I don’t think I can run a server console.

You think they might have changed my privileges this weekend?

Thanks, Joe

Subject: RE: Mail Forward Agent

Well if you can check the Server doc for the server you are running on, and then look at the Security tab, then the “Programmability Restrictions” section. Ensure you or a group you are in can execute agents on the server.

Subject: RE: Mail Forward Agent

Well, this morning it spontaneously started working.Nothing was touched on my (client) end. I didn’t even

close the program. Must have been a hiccup at the server.

Thanks, Joe