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.
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 }
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
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
Get-DistributionGroup | where {$_.RequireSenderAuthenticationEnabled -eq $True} | Set-DistributionGroup -RequireSenderAuthenticationEnabled $False
one hit, removes the options for all current DLs