After New Mail Arrives Agent

I have an agent that is set to run “After New Mail Arrives”, and it runs on Newly Received Documents. The agent is in a shared mailbox that is on 2 servers - an app server and a hub server. The email is always routed to the app server replica, but the agent runs on the hub server. So, when the message is replicated to the hub server, the New Mail Agent should trigger, but it’s not. Am I wrong in this assumption?

Thanks.

Brittany

Subject: If I remember right the agent is triggered by the router

which would only be the first server it arrives - for the other one it would be delivered via the replicator.

=> Run it on the first server or use an Agent to run on new and modified documents or something. (It might be a good idea to flag processed documents, to make sure that you can detect them on the next run, in case they happen to be in your selection list again.)