none
Custom Agent transport never getting applied RRS feed

  • Question

  • I created a custom Transport agent.

    After installation , I have test if it is appplied on email by using Telnet on port 25 to send a email.

    When using telnet method, email pass trought my agent but if I use  Outlook 2003 to send an email,  transport agent is not applied.

    My Exchange server is 2010.. What I am missing? some configuration in exchange.

    I have install Visual studio on my server , and using  telnet method, I 'am able to debug and trace in my code.

    I have enabled pipeline tracing , and saw that email from outlook are  not passing in my agent. No mention in logs.

    I installed 2 examples from microsoft and they are not applied to.

    Thursday, March 29, 2012 6:53 PM

All replies

  • Hi 'Dako',

    What sort of agent have you created ?

    In EX 2010 there are 3 types ....

    1. SMTP Recieve Agents are really only good for Edge Servers (and Internet facing Hubs) as they only see incoming SMTP traffic i.e. on port 25.
    2. Routing Agents work on Hubs and interact with Exchange to influence address resolution, content conversion, bifurcation and of course routing.
    3. Delivery Agents are a special case for delivering non SMTP email to other systems.

    The only agent type you can be 100% certain will see ALL email passing though (the hub of an) Exchange Server is a Routing Agent. So if you're using an SMTP Receive Agent any email you send from Outlook (via MAPI) or OWA it simply won't see.

    Regards,


    Scott Quinn | C# developer & messaging specialist (for hire). Contact me at http://au.linkedin.com/in/scottquinn

    • Proposed as answer by Scott Quinn Saturday, March 31, 2012 5:43 AM
    Friday, March 30, 2012 1:33 AM
  • Thank you. I have figure it out since but your answer is very helpful. I use Routing Agent now but I was using SMTP. So It is working well.

    Thursday, April 5, 2012 5:05 PM