Solved

Powershell script to import a safe sender list in the junk email folder [safe senders tab] in Outlook

Posted on 2014-01-30
2
1,496 Views
Last Modified: 2014-02-10
Hello Experts,

A week ago a opened a similar post with the MS team to fix a GPO issue, however this was never resolved. I have decided instead of using a GPO to import a safe sender list in the junk's email folders, we believe that a power shell script might be a better option for us.


Our issue

When you start Outlook and examine the Safe Senders list in the Junk E-mail Options dialog box, you see that the Safe Senders list has not been updated after you configured GPO to append safe sender list correctly. This used to work until last week. From an Exchange and AD point of view, nothing has changed lately


The request:

A power shell script that imports the safe sender list from a txt file located on a shared folder or the Sysvol in the junk email options dialog box [safe senders]. This request should be applicable to Outlook 2010 and 2013.

Our environment

Multiple DCs running Windows 20008 R2 and 2012 R2.

Exchange 2010 SP3, 2 CAS/HUB one for each datacenter, and 2 MBX servers in a DAG, one for each location or datacenter.

Clients run Windows 7 and office 2010/2013


The exiting GPO that is supposed to import the safe sender list stopped working few weeks ago, multiple troubleshooting attempts with no luck.


Can anybody help me to write the script?

Since this script will affect all internal users, can you please provide 2 versions of the proposed script, one applicable for an specific users and the other one applicable to everyone under a Windows 2008 R2 domain?
0
Comment
Question by:Jerry Seinfield
  • 2
2 Comments
 

Author Comment

by:Jerry Seinfield
Comment Utility
Any updates?
0
 

Accepted Solution

by:
Jerry Seinfield earned 0 total points
Comment Utility
Can we engage the messaging team to provide some input?

I just found the article below and just wonder if this might be helpful?

http://beccabits.com/2011/10/07/how-to-bulk-modify-safe-senders-list-in-outlook-with-exchange-management-shell/
0

Featured Post

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

In this previous article (https://oddytee.wordpress.com/2016/05/05/provision-new-office-365-user-and-mailbox-from-exchange-hybrid-via-powershell/), we made basic license assignments to users in O365. When I say basic, the method is the simplest way …
I thought I'd write this up for anyone who has a request to create an anonymous whistle-blower-type submission form created using SharePoint 2010 (this would probably work the same for 2013). It's not 100% fool-proof but it's as close as you can get…
In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…
Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…

743 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