Question about Transport Agent for something I am about to develop and its "Availability" RRS feed

  • Question

  • I am about to write an Exchange Server plugin that is supposed to count certain statistics of all the incoming/outgoing emails, from what I've gathered so far, using the Transport Agent should be the way to go...

    However, looking at the latest version of the Transport Agent 2013 documentation: https://msdn.microsoft.com/en-us/library/dd877026(v=exchg.150).aspx

    It mentioned that "Transport agents are available in versions of Exchange starting with Exchange 2007. Transport agents are not supported in Office 365 or Exchange Online."

    I am not familiar with Office 365, but i am guessing that the Officer 356 or Exchange Online are both hosted by Microsoft? Hence it would be impossible to install a custom plugin to access the Transport Agent? In addition, looking at the "Microsoft Exchange development" page, all the code sample are about developing the client polling the EWS, is there any code sample about developing an actual Exchange Server plugin?

    • Edited by totszwai Wednesday, June 14, 2017 7:33 PM
    Wednesday, June 14, 2017 7:32 PM

All replies

  • >>I am not familiar with Office 365, but i am guessing that the Officer 356 or Exchange Online are both hosted by Microsoft?

    Yes Office365 is hosted by Microsoft but really there are many hosted email providers where the same would apply so you can't install a transport Agent on a hosted service because of the shared nature.

    If you just counting statistics have you looked at Message Tracking https://technet.microsoft.com/en-us/library/bb124375(v=exchg.160).aspx ? this is available on any version of Exchange (a little different on Office365 but still usable).

    Otherwise another option is journaling https://technet.microsoft.com/en-us/library/jj651670(v=exchg.160).aspx where you journal all Mail going in and out and then process the mail from the journal mailbox with an API like EWS (this may have scalability issues)


    Wednesday, June 14, 2017 10:48 PM
  • Is there anything I could use, reliably, to process all the emails going in and out of the server? I took a look at the Message Tracking, but I don't think it has the fields that I needed.

    The message tracking would've most of what I need, such as in/out domain name, however the critical item that I need is a way to determine whether it is a SMIME or plain email (probably check whether attachments content type or message class), which i don't think the Message Tracking can do...

    Thursday, June 15, 2017 2:03 PM
  • Only other option I know of is to try a routing solution like third parties use https://cloudsupport.exclaimer.com/hc/en-us/articles/212851449-Reconfiguring-third-party-security-solution-connectors-to-work-with-Exclaimer-Cloud- (this requires your own servers to process the email I've never seen or tried this myself). You might be able to research simular products that do what you want to do and then mimic their config/methods.


    Friday, June 16, 2017 5:56 AM