Exchange to move marked messages to junk folder

By | February 28, 2014

Run the following command via Exchange Management Shell.

New-TransportRule -Name 'SCS MailGuard classified messages moved to Junk Mail' -Comments '' -Priority '0' -Enabled $true -SubjectMatchesPatterns '[BANNED]','[SPAMMY','[SPAM' -SetSCL '9'

I believe Exchange 2007 will be a minimum requirement.