Sign in to follow this  
Followers 0
MorganX

Exchange Transport Rules Questions

11 posts in this topic

Is there any way to have Exchange transport rules accept an environment variable such as %username%?

Share this post


Link to post
Share on other sites

what are you trying to do exactly?  Why would you want username vs display name or smtp address?

Share this post


Link to post
Share on other sites

what are you trying to do exactly?  Why would you want username vs display name or smtp address?

 

Just a quick and dirty way to stop anyone from sending out their logon name in say a phishing email. Usernames are easy enough to get, but they are usually accompanied by passwords. Even with environment variables passwords would be near impossible to filter.

Share this post


Link to post
Share on other sites

I only know of some of the variables for creating organization wide signatures, and the one closets to username would probably be %UserLogonName%

Share this post


Link to post
Share on other sites

So you want it to not send if they send their username?

with 2010 it should be %%UserLogonName%%

 

http://www.expta.com/2010/06/using-dynamic-signatures-in-exchange.html

 

Thanks,

 

I saw in my research that you can use them to build a signature, just didn't know if they would work within the actual rule to prevent sending. Guess we'll just have to try. Thanks!

Share this post


Link to post
Share on other sites

So you want it to not send if they send their username?

with 2010 it should be %%UserLogonName%%

 

http://www.expta.com/2010/06/using-dynamic-signatures-in-exchange.html

Does not work as filter criterion. Too bad. Would be quite useful.

Share this post


Link to post
Share on other sites

You should also be able to make a transport rule sending those messages that contain that text to a mailbox. 

Share this post


Link to post
Share on other sites

You should also be able to make a transport rule sending those messages that contain that text to a mailbox. 

 

Yes you can, but the rule text takes the variables as literal text unfortunately. Otherwise, Exchange's Transport rules are quite excellent and flexible. We do filter CC numbers and a few other things with them.

Share this post


Link to post
Share on other sites

I will play with it and see if I can figure something out for you.

1 person likes this

Share this post


Link to post
Share on other sites

Hmmm....you can only search via basic and regular expressions in the email subject and body not variables.  Well isn't that something.

1 person likes this

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0

  • Recently Browsing   0 members

    No registered users viewing this page.