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 Comment

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.

By continuing to use the site, you agree to the use of cookies. more information

The cookie settings on this website are set to "allow cookies" to give you the best browsing experience possible. If you continue to use this website without changing your cookie settings or you click "Accept" below then you are consenting to this.

Close