Solved

Exchange 2010 Mailbox Junk Email Configuration

Posted on 2011-09-27
14
4,148 Views
Last Modified: 2012-05-12
Hi Guys, i am attempting to disable a users` JunkMail on a mailbox but i am getting the error below.  Any ideas?

I run this PS command:
Set-MailboxJunkEmailConfiguration -Identity USERNAME -TrustedSendersAndDomains @() -Enabled $False

Which gives this result:
Junk e-mail validation error. Value: 'name@site.com'.
    + CategoryInfo          : NotSpecified: (0:Int32) [Set-MailboxJunkEmailConfiguration], JunkEmailValidationExceptio   n
    + FullyQualifiedErrorId : C7534409,Microsoft.Exchange.Management.StoreTasks.SetMailboxJunkEmailConfiguration

It looks as if the ' ' in the email address is the issue as the other email addresses does not have this.

I also get an error when trying to modify it via OWA.
0
Comment
Question by:PietMuis
  • 8
  • 5
14 Comments
 
LVL 10

Expert Comment

by:gaurav05
ID: 36709105
0
 
LVL 4

Author Comment

by:PietMuis
ID: 36709264
Sorry gaurav05, that does not help me in any way.
0
 
LVL 17

Expert Comment

by:Spartan_1337
ID: 36709353
This is the correct syntax to disable a users JunkMail.

Set-MailboxJunkEmailConfiguration -Identity "UserName" -Enabled $false
0
 
LVL 4

Author Comment

by:PietMuis
ID: 36709424
Hi Spartan, it returns the same error.
0
 
LVL 17

Expert Comment

by:Spartan_1337
ID: 36709791
Are you typing in email address or alias?
You should be putting in alias.... Set-MailboxJunkEmailConfiguration -Identity support -Enabled $false

I ran this command on my box with a live account and I had no issues applying this.
0
 
LVL 4

Author Comment

by:PietMuis
ID: 36709962
I can run it on other users but I have 3 users that I have an issue with, the one I posted here has a safe sender in the list of email addresses in the format 'name@site.com' with '' where the other email addresses does not have the ''... hope i am making sense?

0
 
LVL 17

Expert Comment

by:Spartan_1337
ID: 36710046
Have you looked at this link?

http://technet.microsoft.com/en-us/library/dd979780.aspx

Specifically example 2 may be what you are looking for.
0
6 Surprising Benefits of Threat Intelligence

All sorts of threat intelligence is available on the web. Intelligence you can learn from, and use to anticipate and prepare for future attacks.

 
LVL 4

Author Comment

by:PietMuis
ID: 36710245
Hi Spartan, I would like to remove the 'john@gmail.com' entry...

To get the details of username i run...
get-MailboxJunkEmailConfiguration -Identity username

It returns:
RunspaceId               : cff082f1-931f-49cf-88c9-1e6e6862a93c
Enabled                  : True
TrustedListsOnly         : False
ContactsTrusted          : True
TrustedSendersAndDomains : {'john@gmail.com', abraenco@neemg.com, accounts@gamil.com...}
BlockedSendersAndDomains : {vgreef@mgf.com}
MailboxOwnerId           : ...
Identity                 : ...
IsValid                  : True


Then say i would like to add mary@gmail.com as a trusted sender i run:

Set-MailboxJunkEmailConfiguration -Identity username -TrustedSendersAndDomains "mary@gmail.com"

It then returns:
Junk e-mail validation error. Value: 'john@gmail.com'.
    + CategoryInfo          : NotSpecified: (0:Int32) [Set-MailboxJunkEmailConfiguration], JunkEmailValidationException
    + FullyQualifiedErrorId : C7534409,Microsoft.Exchange.Management.StoreTasks.SetMailboxJunkEmailConfiguration


I some way the 'john@gmail.com' email address in the list of trusted senders have ' ' and the other do not have it. I think that is the issue but no idea how to resolve...
0
 
LVL 17

Expert Comment

by:Spartan_1337
ID: 36710606
This is what I was able to do in this scenario:

Get-MailboxJunkEmailConfiguration -Identity username -TrustedSendersAndDomains <email1>,<email2>,etc... -Enabled $true

Just don't type the gmail address in that statement and it will not appear in the TrustedSendersAndDomains.

0
 
LVL 17

Expert Comment

by:Spartan_1337
ID: 36710647
Sorry... Set not Get

Set-MailboxJunkEmailConfiguration -Identity username -TrustedSendersAndDomains <email1>,<email2>,etc... -Enabled $true
0
 
LVL 4

Author Comment

by:PietMuis
ID: 36715003
Spartan, it is still giving me the same message - complaining about - 'john@gmail.com'

I am sure the issue is the ' ' around 'john@gmail.com'.
0
 
LVL 4

Author Comment

by:PietMuis
ID: 36715483
http://answers.microsoft.com/en-us/office/forum/office_2010-outlook/exchange-junk-mail-configuration-not-functioning/485f7dbb-8988-4911-9029-055eecbae3f1

This seems to be what i need to do, but when i login via MFCMAPI i do not see the junkmail rule under the "Associated Contents Table" - any ideas?
0
 
LVL 4

Accepted Solution

by:
PietMuis earned 0 total points
ID: 36715519
Found the solution here
http://www.exchangeinbox.com/article.aspx?i=78&t=3&p=2

10.
If running Outlook 2003, we will typically be able to immediately identify the entry of interest from the subject 'Junk E-mail Rule' as shown below.

However if we don't see any of the rules with this subject (as is the case for OWA users) we can still identify the rule from its properties:
 1.
From the upper pane select the item to inspect. The lower pane will list the properties for the selected item.

 2.
Scroll through the properties looking at the 'Value' column. The Junk E-mail Rule will have one value reading 'JunkEmailRule' without any spaces between words.

 3.
If found, we almost certainly identified the rule. As a further confirmation, look for the property named PR_MESSAGE_CLASS and make sure this is set to the value IPM.ExtendedRule.Message
 
11.
Once identified, make sure the Junk E-mail Rule is selected and from the title menu select Actions | Delete Message.

 12.
This will open the Delete Item dialog. From here change the selection to 'Permanent delete passing DELETE_HARD_DELETE (unrecoverable)' and click OK.
 
13.
The Rule is now deleted. We can close the MAPI Editor.

0
 
LVL 4

Author Closing Comment

by:PietMuis
ID: 36902043
Resolved myself
0

Featured Post

Highfive Gives IT Their Time Back

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

We are happy to announce a brand new addition to our line of acclaimed email signature management products – CodeTwo Email Signatures for Office 365.
Easy CSR creation in Exchange 2007,2010 and 2013
In this video we show how to create a Distribution Group in Exchange 2013. We show this process by using the Exchange Admin Center. Log into Exchange Admin Center.: First we need to log into the Exchange Admin Center. Navigate to the Recipients >>…
In this Micro Video tutorial you will learn the basics about Database Availability Groups and How to configure one using a live Exchange Server Environment. The video tutorial explains the basics of the Exchange server Database Availability grou…

706 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now