• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 8027
  • Last Modified:

GPO to append safe sender list does not work for Outlook

Hi team,

We do have a GPO that currently imports a safe sender list into User's junk folder in Outlook. This GPO has been in place for a while, but suddenly the safe sender list are not added to user's email

There is a logon script under User configuration that basically runs the “import_registry.bat” file for a user at logon.

From that I can see this batch file basically imports the contents of “JunkMailImportLists.reg” file located in \\domain\sysvol\domain\Policies\{xxxxxxxxxxxxxxxxxx}\User\Scripts\Logon into the HKCU.

As per attached screenshoot. This is the registry entry we are applying in the GPO. Currently it only does Outlook 2007,

To make it work for other versions of outlook [2010,2013], we have added he necessary subkeys:

Note The 1x.0 placeholder represents your version of Outlook (11.0 = Outlook 2003, 12.0 = Outlook 2007, 14.0 = Outlook 2010, and 15.0 = Outlook 2013).

The GPO works in a sense that the registry keys are created under HKCU, however the safe sender list is not under junk’s email folder

Any ideas why outlook is not importing the safe sender list?

As per link below,

Reg keys come thru to machines with gp but when I open Outlook 2010/2013  the junkmailimportlists value is set to zero. Where's the catch


Our exchange environment as per below

2 CAS/HUB Exchange 2010 SP3 running Windows 2008 R2 latest updates , one for each datacenter

2 MBX in a DAG Exchange 2010 SP3, running Windows 2008 R2. One mailbox server for each datacenter

All VMs resides on a hyperV host, no performance issues, and users run Outlook 2010/2013 Windows 7/8. Domain Forest functional level Windows 2008 R2
Jerry Seinfield
Jerry Seinfield
  • 2
2 Solutions

In order for Junk Mail settings to work, you will have to install main Group Policy Template and custom Group Policy Template for respective versions of Outlook. For example, you will have to install main Group Policy Template for Office 2010 and custom Group Policy Template, outlk14-junkemailtrigger.adm for Junk Mail Settings to work for Outlook 2010. In Outlook 2013, custom Group Policy Template is not required. After these templates are installed, you will get different folders for each version of Outlook inside GPO and path to safe sender list should be selected in each folder.

Please refer 'More Information' section in the following KB.

Jerry SeinfieldAuthor Commented:
thanks for the information,.
As per link http://support.microsoft.com/kb/2252421

The JunkMailImportLists registry value is the trigger that is used by Outlook to determine whether junk email list settings are applied when you start Outlook. This value for some reason  is set to zero (0),therefore Outlook will not apply any of the junk email list policy settings that may exist in the registry.

Any ideas why this registry value is set to zero? I did change this value manually, but after a few minutes is set back to 0
have you tried to set the Junkfilter settings globally using the Exchange EMC? Then deploy the safe sender list via GP???

I feel the value JunkMailImportLists is setting to 0 is a normal behavior and this prevents from updating the Safe Sender List each time Outlook is started. If this value is set to 1 always, then safe sender list could get updated each time Outlook is open and this could create duplicates in the safe sender list.
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Creating Active Directory Users from a Text File

If your organization has a need to mass-create AD user accounts, watch this video to see how its done without the need for scripting or other unnecessary complexities.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now