Click here to Skip to main content
15,887,485 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hello,

I'd like to add information at the end(!) of an incoming email's subject line, using exchange 2010 transport rules and regular expressions.

This is for showing whether or not an email received by the MTA, which is not the exchange-server, was delivered TLS-encrypted. This I want to extract from the message header.

Received: from external.com (provider-or-the-like.com [FF.FF.FF.FF])	(using TLSvX.X with cipher xxxxxxxxxxxxxx (256/256 bits))	(No client certificate requested) by gateway.our-own.de (Postfix) with YYYYY id 123456778 for <anyone@our-own.de>


From outgoing emails I'd like to remove those information.

What I have tried:

I was able to draft a transport rule detecting that an email was delivered TLS-encrypted. I was also able to add some text to the subject line but only as prefix (I need suffix...)

Further I was able to create a transport rule realising outgoing email containinig the foregoing mentioned text, but I am not able to remove it.

Kind regards,
Andreas
Posted

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900