Solved

Powershell command permission to send to Distribution Groups

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

NAS Cloud Backup Strategies

This article explains backup scenarios when using network storage. We review the so-called “3-2-1 strategy” and summarize the methods you can use to send NAS data to the cloud

Question has a verified solution.

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

Suggested Solutions

Hi all.   The other day I had to change the passwords for a bunch of users on the fly. Because they were so many, I decided to do it in an automated way and I would like to share it with you all.   If you are not doing it directly in a Domain Co…
"Migrate" an SMTP relay receive connector to a new server using info from an old server.
Hi friends,  in this video  I'll show you how new windows 10 user can learn the using of windows 10. Thank you.
Many functions in Excel can make decisions. The most simple of these is the IF function: it returns a value depending on whether a condition you describe is true or false. Once you get the hang of using the IF function, you will find it easier to us…

910 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

24 Experts available now in Live!

Get 1:1 Help Now