How do I find the originating database of a mail sent by a scheduled agent

I have searched for posting on an issue similar to this, but have yet found nothing.

A small number of our Notes users have started receiving emails generated from what appears to be an in-house-written scheduled agent. These triggered out of the blue: no designer can recall setting up such an agent recently, and we suspect that it is actually an old, long-forgotten agent that has suddenly sprung to life after some replication or server-refresh event.

We would like to stop this, but are having difficulty tracing the origin of the mail - the Subject is minimal (-it just says “Agent completed”), and the Body is blank. The sender is listed as our server Administrator, which does nothing to narrow this down: we have hundreds of Domino databases, over a range of development and live servers, and most executable content will be signed by that Administrator.

I hoped that the mail document ‘$orig’ field might reveal something useful, but I have tried and failed to gain any meaningful information from this.

Is there a sure-fire way to trace from which database an agent is scheduled ?

Subject: how do I find the originating database of a mail sent by a scheduled agent

Hello Rob,

Try looking for a field called “RouteServers”. I am not very sure of this.

Regards,

Adi…

Subject: RE: how do I find the originating database of a mail sent by a scheduled agent

Do these emails arrive at the same time every day?You could do a “tell amgr sched” from the console to see what is scheduled to run at that time.

Subject: how do I find the originating database of a mail sent by a scheduled agent

Hi-I had a similar predicament a while back and the forum was of help to me…here’s a link to my post (and the responses to it):

http://www-10.lotus.com/ldd/nd6forum.nsf/55c38d716d632d9b8525689b005ba1c0/d95f3c57322af827852573c50049f714?OpenDocument

Good luck and let us know how you resolve it.

-Nate Greene

Subject: RE: how do I find the originating database of a mail sent by a scheduled agent

I did check RouteServers but it simply gave a couple of server-names which wouldn’t have narrowed it down.

However, I WILL get our Server Admin guys to run the suggested console cmd (-we haven’t our own console access in the Dev area), and will report back. Thanks to all so far.

PS Nate: can’t believe I didn’t pick up your postings first time ! Think I tried every term but ‘automated’. Thanks again.