Question

Locked

In Exchange 2007 is there a way to set Message Delivery Restrictions for an AD group?

By _Mr_West_ ·
I am running Exchange 2007 in a school. We don't allow for students to send emails to each other or they use it as a messaging system and share homework and the school can pretty much become plagiarism central. So the way we deal with this to to make use of the Message Delivery Restrictions feature.

I know we can use the EMS cmdlet:
  <b>Set-Mailbox -Identity "Jane Doe" -RejectMessagesFrom "All Students"</b>
but this is only for the single user Jane Doe.

Is ther a way to set the rule for all the members of an AD group?

This conversation is currently closed to new comments.

5 total posts (Page 1 of 1)  
| Thread display: Collapse - | Expand +

All Answers

Collapse -

I may have found the answer

by _Mr_West_ In reply to In Exchange 2007 is there ...

<b>Get-DistributionGroupMember "All Students" | Set-Mailbox -RejectMessagesFrom "All Students"</b>
I think this is the way to do it. Can someone tell me if I'm looking in the right place?

Collapse -

Reponse To Answer

by _Mr_West_ In reply to I may have found the answ ...

Does not work. Gives the following error:
  <b>"All Students" is not an individual recipient object.
  +CategoryInfo: Invalid Argument (All Students:RecipientIDParameter) [], RecipientTaskEception
  +FullyQualifiedErrorId: 91BD8E96</b>

Collapse -

Reponse To Answer

by _Mr_West_ In reply to I may have found the answ ...

The piece that is going wrong is the fact I am trying to set the <b>RejectMessagesFrom</b> to a security group instead of a user mailbox.

Collapse -

How about using the EM Console instead of the EM Shell?

by _Mr_West_ In reply to In Exchange 2007 is there ...

<html>
<body>

Instead of setting it so all the members are not able to send to the distribution group, how about setting it so the distribution group blocks it from all the members?<br />
<br />
<span style="font-weight:bold; text-decoration:underline;">2 steps</span><br />
Add all members of the distribution group to members (as you would)
Then add the distribution group to the Message Delivery Group (below)<br />
<span style="font-style:italic;">Microsoft Exchange<br />
» Recipient Configuration<br />
» Distribution Group<br />
» Group Properties<br />
» Mail Flow Settings<br />
» Message Delivery Restrictions<br />
» Add Distribution Group</span><br />

</body>
</html>

Back to Software Forum
5 total posts (Page 1 of 1)  

Software Forums