Outlook Junk Mail Filter through Group Policy
A quick fix to provide a safe senders list to an organization through group policy and outlook settings.
I am running a Windows Server 2003 domain, a mix of Windows XP – Windows 7, and Office 2007.
I had an issue where certain emails from a specific domain periodically go to users’ junkmail. Here are the steps to publish a safe senders list through group policy. The first two steps are not required, but recommend for this solution.
1) Set expectations that even after implementing this policy, you cannot guarantee that the issue will never happen again.
2) Allow domain.com through any centralized spam filtering systems.
3) Create a .txt file that stores a list of safe senders (domains or addresses) each on a new line
4) Save the .txt file to a file share that is accessible by all clients. I put it on \DCNetlogon
5) Add the Office 2007 Administrative Template to group policy.
6) Create a new GPO for customizing Outlook or Office. My policy is pretty slim so I use one GPO for all of Office.
7) In the GPO go to User Configuration>Policies>Administrative Templates>Microsoft Office Outlook 2007>Tools|Options…>Preferences>Junk Email
8) Open Specify path to Safe Senders list
9) Set this policy to enabled and specify that path to the .txt file you saved in step 4.
10) Now, here was the catch. This setting indeed tells Outlook where to locate the import file. It does not, however, tell Outlook to actually go import the file. This is done through a registry key. So in the same GPO navigate to User Configuration>Preferences>Windows Settings>Registry
11) Right Click Registry and select New Registry Item.
12) Set the properties to the following:
Hive: HKEY_CURRENT_– USER
Value Name: JunkMailImportLists
Value Type: REG_DWORD
I have not tested this with Office 2010, so if anyone has and can verify the registry location for me as well as if the steps are the same, I will gladly update and give credit.
Apply the group policy, and the next time GP is updated on the client and Outlook is restarted, the safe sender list will be imported.