Jump to content

Office 365- Student distribution group created/ block mail sent to and from ext addre


Recommended Posts

Posted

Hi Everyone

 

Can anyone help me on a slight problem I had yesterday

 

I created a few email accounts yesterday and created a distribution group for them but I was trying to block any external emails from being sent to the student accounts and to block students from sending to external email accounts.

 

I made the mistake by creating a rule up and following a guide which then stopped the school from email out to everyone.

 

Is there a way to make sure that all staff are okay to email out and to make sure that students cannot email out and receive any mail from external accounts from outside

 

Cheers

Posted
I cannot replicate the rules at this time as it would effect the school again. When this had happened I was sure it was working for the students but didn't know at the time is would effect the staff email out from there office365 accounts
Posted

Try this - you need to have a student distribution mailing list for this one to work (in this scenario, there are other ways). If a email is from someone in the Student DL - delete it if it is being sent externally.

 

New-TransportRule -FromMemberOf "[email protected]" -Name "No Student Email Externally" -DeleteMessage $true -SentToScope NotInOrganization

Posted
I cannot replicate the rules at this time as it would effect the school again. When this had happened I was sure it was working for the students but didn't know at the time is would effect the staff email out from there office365 accounts

 

Here is a screen grab of our rules.

Inbound.JPGoutbound.JPG

  • Thanks 1
Posted (edited)

I use a slightly different Mail Flow rule, have had no problems.

 

Apply this rule if...

If the sender is located... 'Outside the organization'

and

If the recipient is a member of... '[email protected]'

 

Do the following...

Forward the message for approval to... '[email protected]'

Edited by ollyyllo

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now



×
×
  • Create New...