Exchange 2007 Transport Agent/Rule

I would like to use the full regex library for a transport rule; do I need to create a new transport agent to do this?  If so, how do I accomplish this?  Has anyone already done this?

Thanks in advance for any and all help

March 12th, 2015 10:00am

Hi Jerry,

Below is what appears to be available:

Regular Expressions in Transport Rules Ex2007

This topic describes the implementation of regular expressions that can be used with predicates on transport rules. Predicates are used by conditions and exceptions to determine whether a configured action or actions should be applied to an e-mail message.

Depends what you are targetting on, as each expression would have some other action I suppose, this would mean you would have lots of trasnport rules, which is not a great idea.

See if any anti-spam solution fits your requirement.

Alternately you can export the library content and use some powershell script to form the $Condition.Patterns you want.

Free Windows Admin Tool Kit Click here and download it now
March 17th, 2015 8:40am

A transport Agent will give you full access to the Message while its in the Transport Pipeline and you can then do what you want to it. The place to start would be https://msdn.microsoft.com/en-us/library/aa579185(v=exchg.80).aspx or you can try the 2010 Transport SDK http://www.microsoft.com/en-au/download/details.aspx?id=2886 . (Mainstream support has ended on 2007 which is why the old content is harder to find).

Cheers
Glen

March 18th, 2015 12:15am

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics