Sign in to follow this  

Exchange Transport Rules Questions

Recommended Posts

MorganX    1,046

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
sc302    1,415

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
MorganX    1,046

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
Tarrant64    212

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
MorganX    1,046

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
MorganX    1,046

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
sc302    1,415

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
MorganX    1,046

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
sc302    1,415

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

  • Like 1

Share this post


Link to post
Share on other sites
sc302    1,415

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

  • Like 1

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  

  • Recently Browsing   0 members

    No registered users viewing this page.