nachtmsk
asked on
Delete exchange rules for forwarding
Hi,
I'm running Exchange 2010. Some of my users have created rules to forward their email. It's against company policy to forward email. I need to do 2 things.
1. Delete the rule (how do I do that in Powershell)?
2. Stop the entire user base from creating any rules that forward email. Is it possible to just not allow this but allow other rules?
Thanks
I'm running Exchange 2010. Some of my users have created rules to forward their email. It's against company policy to forward email. I need to do 2 things.
1. Delete the rule (how do I do that in Powershell)?
2. Stop the entire user base from creating any rules that forward email. Is it possible to just not allow this but allow other rules?
Thanks
ASKER
ASKER
Viral,
I used this to check to see if anything was being forwarded for one of my users
Get-InboxRule -Mailbox <mailboxname>
This brought back something like this:
MailboxOwnerId : XXXXX/Users/XXXXXXX
Description : Take the following actions:
redirect the message to 'XXXXX@yahoo.com'
and stop processing more rules on this message
When I run the command you mentioned on the same name, I get nothing back.
So, I'm confused.
I need to find users who are creating rules in Outlook or OWA that allow them to forward mail. Then I need to delete those rules and stop them from creating any further rules.
Can you please help?
Thanks.
I used this to check to see if anything was being forwarded for one of my users
Get-InboxRule -Mailbox <mailboxname>
This brought back something like this:
MailboxOwnerId : XXXXX/Users/XXXXXXX
Description : Take the following actions:
redirect the message to 'XXXXX@yahoo.com'
and stop processing more rules on this message
When I run the command you mentioned on the same name, I get nothing back.
So, I'm confused.
I need to find users who are creating rules in Outlook or OWA that allow them to forward mail. Then I need to delete those rules and stop them from creating any further rules.
Can you please help?
Thanks.
@nachtmsk, Please ignore my initial statement. I believe I was under the influence or suffered some temporal displacement. Either way the information is erroneous.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Organization Config - Hub Transport - Remote Domains - Default - Message Format - untick "Allow automatic forwards"
If you don't have the Office policy templates you can download them here:
Office 2007
http://www.microsoft.com/en-us/download/details.aspx?id=3795
Office 2010
http://www.microsoft.com/en-us/download/details.aspx?id=18968
Office 2013
http://www.microsoft.com/en-us/download/details.aspx?id=35554