Solved

Powershell command permission to send to Distribution Groups

Posted on 2010-09-01
3
2,069 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:K Anthony O365
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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 71

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

Edgartown IT Case Study

Learn about Edgartown's quest to ensure the safety and security of the entire town's employee and citizen data. Read the case study!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Utilizing an array to gracefully append to a list of EmailAddresses
Previously, on our Nano Server Deployment series, we've created a new nano server image and deployed it on a physical server in part 2. Now we will go through configuration.
In a recent question (https://www.experts-exchange.com/questions/29004105/Run-AutoHotkey-script-directly-from-Notepad.html) here at Experts Exchange, a member asked how to run an AutoHotkey script (.AHK) directly from Notepad++ (aka NPP). This video…
Exchange organizations may use the Journaling Agent of the Transport Service to archive messages going through Exchange. However, if the Transport Service is integrated with some email content management application (such as an antispam), the admini…

740 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