Jump to content

Recommended Posts

Posted (edited)

Is there a way to stop members of certain groups sending to distribution groups?

 

Pupils are bulk emailing whole year groups with junk. Pupils are members of distribution groups Year7, year8 etc...

 

I'm experimenting with mail flow rules. I've created a rule that says "If the sender is a member of... and the recipient is this person ... then reject the message". This only blocks the message if the recipient is an individual person. It does not trigger if I specify the group name. It also doesn't trigger if I specify the recipient containing certain text or matching text patterns (the group email address) with wildcards.

 

Does anyone have a solution to this? I can't be the only person.

 

Thanks.

Edited by OverWorked
Posted

Replying to my own threads again...

 

I've got the solution. In the group properties, delivery management, add the groups allowed to send to that group. Tis works for group and individuals.

 

I still don't understand why mail flow rules didn't work, but anyway the solution is delivery management, not mail flow rules.

Posted

Why not approach it from the other way (If sender <> staff member, reject message) - in Exchange we'd use:

 

Distribution Group Name > Properties > Mail Flow Settings > Message Delivery Restrictions > Properties > Accept messages from > Only Senders in the following List > Staff*

Posted

pete, Thanks. I've had a look but I don't think that applies to Office 365.

 

I'm not familiar with Exchange, but I guess it's a lot more flexible and powerful in that way.

Posted
If the group is ad synced then you can't change that property on office 365 you are supposed to do it locally in ad, however I have not been able to find the ad field that needs setting. Anyone know?
Posted
No, as we have never had exchange installed, not found any microsoft documentation on what to update as yet.
Posted

I've just checked my environment.

 

I can confirm as you thought you cannot edit in the cloud if it's AD sync'd.

 

I have found a way to edit the local properties but it's not an easy thing and i'm not sure if you need to have extended you schema first.

 

If you do need to extend you schema you can do that by starting the installation process from exchange, the schema extension happens very early on and then you can just cancel it. I was nervous about doing it but it was quite easy and i didn't have any issues. I would of course advise having full backups etc and take care.

 

The attributes you need to edit are of a type DN-Binary which cannot be edited in either ADCU or using ADSI edit. so for this you have to use LDP.exe

 

The attributes that are relevant are:

authOrig: List of senders (users, not groups) that are allowed to send to the DL

unAuthOrig: List of senders (users, not groups) to BLOCK from sending to the DL

dlMemRejectPerms: Used in place of unAuthOrig when using security groups

dlMemSubmitPerms: Used in place of authOrig when using using security groups to approve senders

msExchRequireAuthToSendTo: Used to limit senders to only Authenticated users (internal) to be able to send to this D (TRUE/FALSE)

 

There are some instructions here.

 

I have not followed this procedure myself but there does seem to be links to it from quite a few different places, so hopefully it's what you're looking for.

  • Thanks 1
Posted

Just tried this on one of our DirSync'd mail groups and it seems to work quite nicely.

For testing purposes, I used the CN value for the synced mail group. Once it had uploaded and I logged in as a user that does not have permission, as soon as I had entered the e-mail address into the TO field, it popup up with the mail tip notification that I did not have permission to send to that address and if I wanted the recipient removed.

 

Now to roll it out to the rest of the group when we update them in the Summer.

Posted (edited)

I'm considering using Dynamic Distribution groups. within Office 365 Environment as I know you can prevent the sending to the groups via rules.

 

 

 

One reason if I'm not mistaken is that any group changes if an AD Security Group (i.e. Members added) are not updated until a DirSync.

 

Although Setting up mail enabled security groups within AD does have it's advantages i.e. you can much more easily manage permissions on the Group if you have a Hybrid Setup in place.

Edited by Davit2005
Posted

It depends how often you have DirSync running.

We have it set to the default 3 hours, but if we make any major changes, we run the manual sync command which takes a minutes.

 

I tried a DDG, but it got a little bit complex for us and they were not appearing in the address books. Managing list membership via AD is a bit easier and we can also delegate the responsibility for keeping them up to date to another member of admin staff.

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...