Setting up a new journal mailbox that has Enterprise Vault Journal Archiving turned on, and I don’t want emails from our monitoring system to go into the journal archive.
When I tried logging onto the ECP as that user I’d get the OWA language and time zone prompt screen, and then an error “Bad Request”, so I couldn’t create a rule via the GUI.
This is what I ended up doing:
New-InboxRule -Name "Delete Monitoring Messages" -Mailbox domainjournalaccount -from firstname.lastname@example.org -DeleteMessage $true (wrapped for legibility)
The only problem now is that the messages go to the Deleted Items folder in that mailbox, but the mailbox management process will take care of that.
The rules take effect before Enterprise Vault picks up the email, so this works well. Not sure about any performance impact this may have, but I’m only running it in a small environment.
To view the inbox rules that are configured for the mailbox, do the following:
Get-InboxRule -Mailbox domainjournalaccount
Or in detail:
Get-InboxRule -Mailbox domainjournalaccount | Format-List