Solved

Exchange 2010 Mailbox Junk Email Configuration

Posted on 2011-09-27
14
4,322 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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:James H
ID: 36709353
This is the correct syntax to disable a users JunkMail.

Set-MailboxJunkEmailConfiguration -Identity "UserName" -Enabled $false
0
Best Practices: Disaster Recovery Testing

Besides backup, any IT division should have a disaster recovery plan. You will find a few tips below relating to the development of such a plan and to what issues one should pay special attention in the course of backup planning.

 
LVL 4

Author Comment

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

Expert Comment

by:James H
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:James H
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
 
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:James H
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:James H
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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Lotus Notes – formerly IBM Notes – is an email client application, while IBM Domino (earlier Lotus Domino) is an email server. The client possesses a set of features that are even more advanced as compared to that of Outlook. Likewise, IBM Domino is…
This article will help to fix the below errors for MS Exchange Server 2013 I. Certificate error "name on the security certificate is invalid or does not match the name of the site" II. Out of Office not working III. Make Internal URLs and Externa…
In this video we show how to create an Accepted Domain 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 Mail Flow >> Ac…
The video tutorial explains the basics of the Exchange server Database Availability groups. The components of this video include: 1. Automatic Failover 2. Failover Clustering 3. Active Manager

689 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