Solved

Powershell command permission to send to Distribution Groups

Posted on 2010-09-01
3
2,062 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

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

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

A brief introduction to what I consider to be the best editor for PowerShell.
The following article is intended as a guide to using PowerShell as a more versatile and reliable form of application detection in SCCM.
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…
Attackers love to prey on accounts that have privileges. Reducing privileged accounts and protecting privileged accounts therefore is paramount. Users, groups, and service accounts need to be protected to help protect the entire Active Directory …

763 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