Solved

Add a SafeSender to Exchange

Posted on 2016-11-07
6
46 Views
Last Modified: 2016-11-15
Hi All,

We need to receive emails from a certain domain but sometimes they are delivered into the Junk Email folder within Outlook.  If I right click the Junk Email in Outlook and select Never Block Senders domain - this resolves it for that user.  Id like to apply this Exchange side so I dont have to do it for each user.  How can I achieve this since I cant see a setting in the EMC for this.

Thanks
0
Comment
Question by:hyperbyte
[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
  • 2
  • 2
  • 2
6 Comments
 
LVL 41

Accepted Solution

by:
Adam Brown earned 500 total points
ID: 41877241
There isn't a setting in EMC. you have to do it in the Exchange Management Shell. https://technet.microsoft.com/en-us/library/dd979780(v=exchg.141).aspx has info on how to use this in Exchange 2010 (the first version of Exchange to include this control). You would basically do this:
$users = get-mailbox
foreach($mailbox in $users){
$Temp = Get-MailboxJunkEmailConfiguration $mailbox
$Temp.TrustedSendersAndDomains += "contoso.com","fabrikam.com"
$Temp.BlockedSendersAndDomain += "<address to add to safe sender list>"
Set-MailboxJunkEmailConfiguration -Identity $mailbox -TrustedSendersAndDomains $Temp.TrustedSendersAndDomains -BlockedSendersAndDomains $Temp.BlockedSendersAndDomains}

Open in new window


As you can see, the process is a little complex, since the -trustedsendersanddomains switch on the set-mailboxjunkemailconfiguration cmdlet basically replaced the existing list with whatever is passed to the command, so you have to pull the existing trusted senders list and modify it to include the new domains/users, then apply the appended list. That's part of why there isn't a control for this in EMC.
0
 
LVL 43

Expert Comment

by:Amit
ID: 41877277
Change SCL value to -1. It might be 5 now, that is why moving to Junk. Use this PS command

Set-OrganizationConfig -SCLJunkThreshold -1
0
 
LVL 1

Author Comment

by:hyperbyte
ID: 41877400
Thanks Both.  

Amit, If I change the SCL value will this open a risk that more Spam could be delivered directly to our Users Inbox causing a security risk?
0
Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

 
LVL 43

Expert Comment

by:Amit
ID: 41877456
Exchange Anti-Spam solution is very basic. 99% I opened case with MS and that's what they told me to do. Set it to -1 and use EOP. I asked same question to MS also. I didn't get satisfactory answer though. I normal disable Exchange AS/AV filters. Best to keep server only to do Exchange job with OS level AV, excluding all Exchange Bin files and db's.. Rest filtering etc, should be done via 3rd party tool or EOP.

You have following option:

1) Ask user to continue with same solution. However that could be big headache for user and user might loose important email.
2) You disable it via changing SCL value and using 3rd party tool. As you need to product, which get updates regularly. Not sure what made MS to include anti-spam which doesn't work properly. where they themselves push customer to use EOP.
0
 
LVL 41

Expert Comment

by:Adam Brown
ID: 41877620
Setting SCL Threshold to -1 disables the junk folder entirely, which leaves you entirely reliant on your spam filter (You don't mention if this is O365 of on-prem Exchange. Exchange Online Protection, which is used in O365, integrates with the Junk folder by default, but can be set to operate independently). The junk folder system in Outlook is not particularly great, but it is significantly easier for individuals to use when they want to white-list/black-list specific email addresses, which reduces administrative overhead related to managing the spam filter. Of course, it takes training your users to properly manage their own junk folder (which is usually a problem). If you feel your spam filter is doing a good enough job of blocking spam, you're more than welcome to disable the junk folder's features, but if you are not using a spam filter and only relying on the junk folder, or if you want to retain the added capabilities of end-user control, don't disable it.
0
 
LVL 1

Author Closing Comment

by:hyperbyte
ID: 41887501
Both responses were helpful but I've given the points to the answer that resolved my issue.
0

Featured Post

Enroll in June's Course of the Month

June’s Course of the Month is now available! Experts Exchange’s Premium Members, Team Accounts, and Qualified Experts have access to a complimentary course each month as part of their membership—an extra way to sharpen your skills and increase training.

Question has a verified solution.

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

When you have clients or friends from around the world, it becomes a challenge to arrange a meeting or effectively manage your time. This is where Outlook's capability to show 2 time zones in one calendar comes in handy.
A list of top three free exchange EDB viewers that helps the user to extract a mailbox from an unmounted .edb file and get a clear preview of all emails & other items with just a single click on mailboxes.
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
This Experts Exchange video Micro Tutorial shows how to tell Microsoft Office that a word is NOT spelled correctly. Microsoft Office has a built-in, main dictionary that is shared by Office apps, including Excel, Outlook, PowerPoint, and Word. When …

688 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