New Distribution Groups do not receive internet email by default

by Bharat Suneja

New Exchange Server 2007 Distribution Groups created using the Exchange shell or console do not receive internet mail (i.e. mail from unauthenticated senders) by default. Thanks to Exchange MVP Devin Ganger for pointing this out.

Screenshot: Distribution Group - Delivery Restrictions
Figure 1: By default, new Distribution Groups created in Exchange Server 2007 are configured to receive mail only from authenticated senders.

To allow internet mail to a Distribution Group:

Set-DistributionGroup “Group Name” -RequireSenderAuthenticationEnabled $false

When creating a new Distribution Group using the console, the option for authentication is not exposed. However, when creating one using the shell using the New-DistributionGroup command, the above optional parameter -RequireSenderAuthenticationEnabled can be set to false.

{ 3 comments… read them below or add one }

Gaurav M August 26, 2008 at 8:43 am

Well, you have posted how to enable it for all the DG’s. It will be beneficial it you can also mention how one can do it for a group of users lets 200 out of 400.

Thanks

Reply

Timmy8ken January 14, 2010 at 1:24 pm

Hi Gaurav,

I had created 100 new DL's using EMS and this setting had been enabled. To make the change on all those mailboxes I created an array with the mailbox names:

$mailbox="DL_1", "DL_2"

Then I used I for loop to assign that setting to all DL's:

Foreach ($item in $Mailbox){Set-DistributionGroup "$ item" -RequireSenderAuthenticationEnabled $false}

I had used a similar script to create the DL's so I already had the array, but creating the array should be easier than running the command 200 times!!

Tim

Reply

Anonymous February 9, 2015 at 9:03 am

Get-DistributionGroup | where {$_.RequireSenderAuthenticationEnabled -eq $True} | Set-DistributionGroup -RequireSenderAuthenticationEnabled $False

one hit, removes the options for all current DLs

Reply

Leave a Comment

Previous post:

Next post: