Exchange powershell: Add transport rule to add [EXT] word to all external mails

When receiving mails in theese phishing/ceo fraud times, it can be great to use this little neat free feature og your Exchange server:

New-TransportRule -Name ‘Add EXT to all external mails incoming’ -Comments ‘Added 29/11-2018 by Martin F.’ -Priority ‘0’ -Enabled $true -FromScope ‘NotInOrganization’ -PrependSubject ‘[EXT] ‘ -ExceptIfSubjectContainsWords ‘[EXT]’

This will add the word “[EXT]” to EVERY email you get from outside the organisation, so it may be an eye opener for thoose mails coming from your boss, telling you to transfers a lot of money asap 🙂

Tested on: Exchange 2010 –> 2016 OK!


Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.