Jump to content



Photo

Exchange Transport Rules Questions

exchange

  • Please log in to reply
10 replies to this topic

#1 MorganX

MorganX

    MegaZilla™

  • Tech Issues Solved: 1
  • Joined: 16-June 04
  • Location: Midwest USA
  • OS: Digita Storm Bolt, Windows 8.1 x64 Pro w/Media Center Pack/Core i7 4790K/16GB DDR3 1600/Samsung 840 Pro 128GB x 2 - Raid 0/Transcend M.2 256GB/ASRock Z97E-ITXac/GTX 760
  • Phone: Samsung Galaxy S5 Active

Posted 22 August 2013 - 13:02

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




#2 sc302

sc302

    Neowinian Senior

  • Tech Issues Solved: 35
  • Joined: 12-July 05
  • Location: NJ, USA

Posted 22 August 2013 - 14:09

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



#3 OP MorganX

MorganX

    MegaZilla™

  • Tech Issues Solved: 1
  • Joined: 16-June 04
  • Location: Midwest USA
  • OS: Digita Storm Bolt, Windows 8.1 x64 Pro w/Media Center Pack/Core i7 4790K/16GB DDR3 1600/Samsung 840 Pro 128GB x 2 - Raid 0/Transcend M.2 256GB/ASRock Z97E-ITXac/GTX 760
  • Phone: Samsung Galaxy S5 Active

Posted 22 August 2013 - 14:23

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.



#4 Tarrant64

Tarrant64

    Neowinian

  • Joined: 30-January 05

Posted 22 August 2013 - 14:27

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



#5 sc302

sc302

    Neowinian Senior

  • Tech Issues Solved: 35
  • Joined: 12-July 05
  • Location: NJ, USA

Posted 22 August 2013 - 14:28

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

with 2010 it should be %%UserLogonName%%

 

http://www.expta.com...n-exchange.html



#6 OP MorganX

MorganX

    MegaZilla™

  • Tech Issues Solved: 1
  • Joined: 16-June 04
  • Location: Midwest USA
  • OS: Digita Storm Bolt, Windows 8.1 x64 Pro w/Media Center Pack/Core i7 4790K/16GB DDR3 1600/Samsung 840 Pro 128GB x 2 - Raid 0/Transcend M.2 256GB/ASRock Z97E-ITXac/GTX 760
  • Phone: Samsung Galaxy S5 Active

Posted 22 August 2013 - 14:55

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

with 2010 it should be %%UserLogonName%%

 

http://www.expta.com...n-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!



#7 OP MorganX

MorganX

    MegaZilla™

  • Tech Issues Solved: 1
  • Joined: 16-June 04
  • Location: Midwest USA
  • OS: Digita Storm Bolt, Windows 8.1 x64 Pro w/Media Center Pack/Core i7 4790K/16GB DDR3 1600/Samsung 840 Pro 128GB x 2 - Raid 0/Transcend M.2 256GB/ASRock Z97E-ITXac/GTX 760
  • Phone: Samsung Galaxy S5 Active

Posted 23 August 2013 - 18:19

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

with 2010 it should be %%UserLogonName%%

 

http://www.expta.com...n-exchange.html

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



#8 sc302

sc302

    Neowinian Senior

  • Tech Issues Solved: 35
  • Joined: 12-July 05
  • Location: NJ, USA

Posted 23 August 2013 - 19:23

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



#9 OP MorganX

MorganX

    MegaZilla™

  • Tech Issues Solved: 1
  • Joined: 16-June 04
  • Location: Midwest USA
  • OS: Digita Storm Bolt, Windows 8.1 x64 Pro w/Media Center Pack/Core i7 4790K/16GB DDR3 1600/Samsung 840 Pro 128GB x 2 - Raid 0/Transcend M.2 256GB/ASRock Z97E-ITXac/GTX 760
  • Phone: Samsung Galaxy S5 Active

Posted 24 August 2013 - 00:09

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.



#10 sc302

sc302

    Neowinian Senior

  • Tech Issues Solved: 35
  • Joined: 12-July 05
  • Location: NJ, USA

Posted 24 August 2013 - 00:38

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

#11 sc302

sc302

    Neowinian Senior

  • Tech Issues Solved: 35
  • Joined: 12-July 05
  • Location: NJ, USA

Posted 28 August 2013 - 14:50

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