Solved

Powershell command permission to send to Distribution Groups

Posted on 2010-09-01
3
2,048 Views
Last Modified: 2012-05-10
What Powershell cmlet can I use allow a mail recipient to send to a DDG?  I get the following error when a particular user tries to sendi to a Dynamic Distribution Group:

550 5.7.1 RESOLVER.RST.AuthRequired; authentication

Also how can verify the permissons set on the DDG?
0
Comment
Question by:kt KTAdmin
3 Comments
 
LVL 13

Expert Comment

by:soostibi
ID: 33577791
You probably have restriction on the DDG. Either AcceptOnly type, either RejectFrom type. To see these kind of restrictions you can user the attached expression. This will make an output with the following columns:
Name (of the restricted or allowed user or group)                         DistinguishedName (of the same)            mode (AcceptOnly or reject)                         DDGname (which has the restriction)

Each row has one user, so you can sort by this column, or do as you wish.
Get-DynamicDistributionGroup | %{$ddg= $_; 

$usrs = @($ddg.AcceptMessagesOnlyFromSendersOrMembers | select-object name, distinguishedname, @{n="mode";e={ "acceptonly"}}); 

$usrs += @($ddg.RejectMessagesFromSendersOrMembers | select-object name, distinguishedname,@{n="mode";e={"reject"}}); 

$usrs | select-object *, @{n="DDGname"; e={$ddg.name}}}

Open in new window

0
 
LVL 70

Accepted Solution

by:
Chris Dent earned 500 total points
ID: 33584448

It means the group requires authentication to send to it. This should fix it.


Set-DynamicDistributionGroup "Whatever" -RequireSenderAuthenticationEnabled:$False


You should not need to play with the other delivery restrictions.

Chris
0
 
LVL 32

Expert Comment

by:endital1097
ID: 33606605
the comment from @chris-dent should be the solution
when a new distribution group or dynamic distribution group is created in exchnage 2007 or 2010, by default the group only accepts messages from authenticated senders
0

Featured Post

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

This article shows how a content item can be identified directly or through translation of a navigation type. It then shows how this information can be used to create a menu for further navigation.
Synchronize a new Active Directory domain with an existing Office 365 tenant
Here's a very brief overview of the methods PRTG Network Monitor (https://www.paessler.com/prtg) offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

746 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

10 Experts available now in Live!

Get 1:1 Help Now