Creating a rule to move email from a distribution group to a custom managed folder
How to Creat a rule to move email from a distribution group to a custom managed folder
I tried the below
New-InboxRule -Mailbox test -Name mRule -From
test2@test.com -MoveToFolder 'Project X'
i got the below error
The specified mailbox "Project X" doesn't exist.
+ CategoryInfo : NotSpecified: (0:Int32) [New-InboxRule], ManagementObjectNotFoundExceptio
+ FullyQualifiedErrorId : 3E16A31F,Microsoft.Exchange.Management.RecipientTasks.NewInboxRule
Please help
July 12th, 2012 2:31am
Problem with syntax. The below forum post has the answer:
http://social.technet.microsoft.com/Forums/sk/exchange2010/thread/ad180562-932f-424a-ad80-31f7e78beff1
Free Windows Admin Tool Kit Click here and download it now
July 12th, 2012 4:26am
thanks rajitha
I tried to do the below
New-InboxRule -Name Mynewinboxrul -Mailbox test -From
test2@test.com -MoveToFolder 'test:\Junk E-Mail' -StopProcessingRules $true
now the problem is
c annot find the user from the token. Error code = 0
+ CategoryInfo : NotSpecified: (0:Int32) [New-InboxRule], ObjectNotFoundException
+ FullyQualifiedErrorId : 8567966E,Microsoft.Exchange.Management.RecipientTasks.NewInboxRule
Any ideas
July 12th, 2012 5:20am
Refer the below post. Make sure the mailbox exists with the exact alias.
http://social.technet.microsoft.com/Forums/ta/exchange2010/thread/15af804f-e4c5-4497-967f-b313df5480ed
Free Windows Admin Tool Kit Click here and download it now
July 12th, 2012 5:27am
Alias are correct , still i am getting the following error , this is happens only with movetofolder
July 12th, 2012 8:32am
Hi supportsib,
Can you create the rule for other mailboxes?
If possible, please log into the mailbox to create the rule manually, then run the
Get-InboxRule -Mailbox "mailbox name"| fl to view the rule. After that, delete it in OWA/Outlook and try to recreate it in Powershell again.Frank Wang
TechNet Community Support
Free Windows Admin Tool Kit Click here and download it now
July 13th, 2012 2:57am
I can create manually using outlook and i could view using Get-InboxRule
-Mailbox "mailbox name"| fl , i deleted
still facing same issue
July 13th, 2012 3:46am
thanks rajitha
I tried to do the below
New-InboxRule -Name Mynewinboxrul -Mailbox test -From
test2@test.com -MoveToFolder 'test:\Junk E-Mail' -StopProcessingRules $true
now the problem is
c annot find the user from the token. Error code = 0
+ CategoryInfo : NotSpecified: (0:Int32) [New-InboxRule], ObjectNotFoundException
+ FullyQualifiedErrorId : 8567966E,Microsoft.Exchange.Management.RecipientTasks.NewInboxRule
Any ideas
Hi,
To be able to create inbox rules with the cmdlet new-inboxrule you need to have fullmailboxaccess to the mailbox. Do you have that?
Also, try this instead (Note: test:\"Junk E-Mail")
New-InboxRule -Name Mynewinboxrul -Mailbox test -From test2@test.com -MoveToFolder test:\"Junk E-Mail" -StopProcessingRules $true
Martina Miskovic
Free Windows Admin Tool Kit Click here and download it now
July 13th, 2012 4:31am
Yes i have taken full permission on the mailbox
July 13th, 2012 5:48am
Yes i have taken full permission on the mailbox
..and you have changed the syntax?Martina Miskovic
Free Windows Admin Tool Kit Click here and download it now
July 13th, 2012 6:11am
Even the syntax did not help ( -MoveToFolder test:\"Junk E-Mail")
July 14th, 2012 2:29am
i created another mail enabled user and full permission on the mailboxes having manged folder then it did work :)
I have one more question How the storage limit is calculating on MANGED FOLDER
Free Windows Admin Tool Kit Click here and download it now
July 14th, 2012 6:37am
There's no special quota for a Managed Folders. It's part of the quota configured for the database/mailbox.Martina Miskovic
July 14th, 2012 6:39am
If i want to create a rule any email to a certain distribution group has to be moved to a custom managed folder , how can i write it in EMS
Free Windows Admin Tool Kit Click here and download it now
July 14th, 2012 5:34pm