+ Post New Thread
Results 1 to 15 of 15
How do you do....it? Thread, Block student to student email in Exchange 2k3 in Technical; We have had our email system (exchange 2003) since December 2006 and always had the problem of students emailing eachother ...
  1. #1
    dgsmith's Avatar
    Join Date
    Nov 2007
    Location
    Merseyside, England
    Posts
    1,104
    Thank Post
    118
    Thanked 90 Times in 78 Posts
    Rep Power
    36

    Block student to student email in Exchange 2k3

    We have had our email system (exchange 2003) since December 2006 and always had the problem of students emailing eachother and using it like a "messenger" type system. Whilst we have over time tolerated that or at least been able to control it somewhat, it seems now they are emailing coursework to eachother which of course is a big no.

    Whilst I appreciate they could just as easily email it through their own personal email accounts or share them on pen drives, if we can remove this method it's better than doing nothing (also been meaning to stop it for some time anyway for other reasons).

    I'm not even sure if it can be done with Exchange 2003 or if we'd need to have 2007 for this. We'd want to continue allow teacher-teacher and teacher-student emailing of course.

    Any ideas? Yes/maybe/forget it?

  2. #2

    maniac's Avatar
    Join Date
    Feb 2007
    Location
    Kent
    Posts
    3,037
    Thank Post
    209
    Thanked 425 Times in 306 Posts
    Rep Power
    144
    Can be done - little bit of scripting magic needed to add it to all students.

    First, create a new group - call it 'Can E-mail Students' or simelar, also make sure you create an e-mail address for the group or the next step won't work.

    Next, look at the AD properties for a user, must be on a machine with Exchange management tools installed. Look at the Exchange general tab, and click the button 'delivery restrictions' and down the bottom you can set the restriction of 'Only From' and then add the group you previously created. When set, the student will only be able to receive mail from members of this group - so if you add all your staff to it, then all staff can e-mail students but students can't e-mail each other.

    But wait, I hear you cry, I've got to make this change to each user individually?

    Actually no, I've written a VBscript which will do that for you.

    Code:
    Const strGroup1 = "CN=Student Mail,OU=Network Operational Groups,OU=Groups,OU=Spires Academy,DC=SPIRES,DC=LOCAL"
    
    strOU = "LDAP://OU=YEAR07,OU=Students,OU=Users,OU=Spires Academy,DC=SPIRES,DC=LOCAL" 
    Set objOU = GetObject(strOU) 
    objOU.Filter = Array("user")
    For Each objUser In objOU
    objUser.dlmemSubmitPerms = strGroup1
    objUser.SetInfo
    Next
    
    
    wscript.echo "All Done"
    You need to specify the group you've created at the top as an LDAP string, same for the OU you want to target. You can get the LDAP strings by using LDAP browser and copying and pasting them from there.

    Simply repeat the block of code between "strOU = ... " and "Next" for every OU you want to set delivery restrictions on.

    Works like a charm here.

    Mike.

  3. 2 Thanks to maniac:

    dgsmith (9th March 2010), gwendes (22nd March 2010)

  4. #3

    sonofsanta's Avatar
    Join Date
    Dec 2009
    Location
    Lincolnshire, UK
    Posts
    4,934
    Thank Post
    861
    Thanked 1,438 Times in 988 Posts
    Blog Entries
    47
    Rep Power
    616
    Quote Originally Posted by maniac View Post
    (MAGIC GOES HERE)
    It's posts like this that make me love EduGeek. A completely random and seemingly undoable request, yet the first post has a full and comprehensive answer. Bloody marvellous.


  5. #4

    maniac's Avatar
    Join Date
    Feb 2007
    Location
    Kent
    Posts
    3,037
    Thank Post
    209
    Thanked 425 Times in 306 Posts
    Rep Power
    144
    Quote Originally Posted by sonofsanta View Post
    It's posts like this that make me love EduGeek. A completely random and seemingly undoable request, yet the first post has a full and comprehensive answer. Bloody marvellous.

    That's what it's about at the end of the day.

    I spent many hours work perfecting that way of doing it, so may as well share that knowledge.

    Mike.

  6. #5
    dgsmith's Avatar
    Join Date
    Nov 2007
    Location
    Merseyside, England
    Posts
    1,104
    Thank Post
    118
    Thanked 90 Times in 78 Posts
    Rep Power
    36
    Thanks maniac - very detailed and much appreciated! Will have a go working through that and let you know how we get on. We're on an RM CC4 network so I hope that shouldn't make much difference - soon find out I guess.

  7. #6

    maniac's Avatar
    Join Date
    Feb 2007
    Location
    Kent
    Posts
    3,037
    Thank Post
    209
    Thanked 425 Times in 306 Posts
    Rep Power
    144
    Quote Originally Posted by dgsmith View Post
    Thanks maniac - very detailed and much appreciated! Will have a go working through that and let you know how we get on. We're on an RM CC4 network so I hope that shouldn't make much difference - soon find out I guess.
    Not sure about CC4, but I used the same script on CC3 with no adverse affects.

    Mike.

  8. #7
    dgsmith's Avatar
    Join Date
    Nov 2007
    Location
    Merseyside, England
    Posts
    1,104
    Thank Post
    118
    Thanked 90 Times in 78 Posts
    Rep Power
    36
    Maybe I am being daft, but does this only stop them receiving from students? They are put in a group where they can only receive from "can email students" (staff) but there is no change to their sending restrictions?

    I appreciate even though they can't receive means the messenger issue is no more, but exchanging work would still be an issue. Obviously don't want to set their message size or recipient limit to 0 as we still want them to be able to email staff.
    Last edited by dgsmith; 9th March 2010 at 04:00 PM.

  9. #8

    maniac's Avatar
    Join Date
    Feb 2007
    Location
    Kent
    Posts
    3,037
    Thank Post
    209
    Thanked 425 Times in 306 Posts
    Rep Power
    144
    Quote Originally Posted by dgsmith View Post
    Maybe I am being daft, but does this only stop them receiving from students? They are put in a group where they can only receive from "can email students" (staff) but there is no change to their sending restrictions?

    I appreciate even though they can't receive means the messenger issue is no more, but exchanging work would still be an issue. Pbviously don't want to set their message size or recipient limit to 0 as we still want them to be able to email staff.
    If they try sending any mail to another student it bounces back with a non-delivery report, but they can still send to anywhere else.

    This is the easiest and best method I've found of putting this sort of restriction in place, but if anyone else can think of a better way then please feel free to post it.

    Mike.

  10. #9

    Join Date
    Jan 2006
    Location
    Surburbia
    Posts
    2,178
    Thank Post
    74
    Thanked 307 Times in 243 Posts
    Rep Power
    115
    if anyone else can think of a better way then please feel free to post it.
    Nope.

    I'll just add CC3 vs. CC4 vs. Vanilla won't make a difference... Exchange is Exchange on all of them (except on CC3 you might have bought the RMMC integration to create mailbox when you add users there, but that's not really relevant).

  11. #10

    glennda's Avatar
    Join Date
    Jun 2009
    Location
    Sussex
    Posts
    7,799
    Thank Post
    272
    Thanked 1,134 Times in 1,030 Posts
    Rep Power
    349
    i have implemented number of recipients students can send to - reduced it 2 5 per email as this reduces the spam going around the system - although you get some that are really bord and still send it to 300 people 5 at a time!

  12. #11

    Join Date
    Mar 2007
    Posts
    127
    Thank Post
    28
    Thanked 5 Times in 4 Posts
    Rep Power
    16
    This looks great!


    Would students still be able to receive email from outside of the school? I think we have a couple of times (work experience etc) when we may need external school sites to be able to reply to students?

    Is there a work-around maybe?

    Thanks

  13. #12

    maniac's Avatar
    Join Date
    Feb 2007
    Location
    Kent
    Posts
    3,037
    Thank Post
    209
    Thanked 425 Times in 306 Posts
    Rep Power
    144
    Quote Originally Posted by steele_uk View Post
    This looks great!


    Would students still be able to receive email from outside of the school? I think we have a couple of times (work experience etc) when we may need external school sites to be able to reply to students?

    Is there a work-around maybe?

    Thanks
    Afraid this method will restrict the students to receive only from the users you specify in the group. You can do it the other way round, and block them receiveing only from a certain group instead of the 'only from' option, but my script would need some modifying to achieve that as you'd need to change the option button to 'From everyone except' which can be done, but I don't know the database value to do it as for my purpose what I've written does what is needed at my school.

    If I've got time I'll see if I can modify it and produce two versions.

    Mike.

  14. #13
    alunmjones's Avatar
    Join Date
    Jul 2009
    Location
    North Wales
    Posts
    177
    Thank Post
    8
    Thanked 10 Times in 10 Posts
    Rep Power
    12
    i just implemented this, with one slight change, change objUser.dlmemSubmitPerms to objUser.dLMemRejectPerms and it will then set the group you chose from beeing able to email each other, but will allow external email and email from other groups.

    hope that helps

  15. #14

    TechMonkey's Avatar
    Join Date
    Dec 2005
    Location
    South East
    Posts
    3,286
    Thank Post
    225
    Thanked 405 Times in 302 Posts
    Rep Power
    162
    Quote Originally Posted by alunmjones View Post
    i just implemented this, with one slight change, change objUser.dlmemSubmitPerms to objUser.dLMemRejectPerms and it will then set the group you chose from beeing able to email each other, but will allow external email and email from other groups.

    hope that helps
    So using that object you still set the group that they can email to internally but external is allowed as well?

  16. #15
    alunmjones's Avatar
    Join Date
    Jul 2009
    Location
    North Wales
    Posts
    177
    Thank Post
    8
    Thanked 10 Times in 10 Posts
    Rep Power
    12
    it sets it so that they cant send or recive from the group you specify (students in our case), but any other internal groups (teachers, domain admins) or external emails can be e-mailed and e-mails can be recived from any other group or external e-mail address.

    hope that makes sense

SHARE:
+ Post New Thread

Similar Threads

  1. Student Email
    By AdamMason in forum How do you do....it?
    Replies: 27
    Last Post: 15th December 2009, 01:57 PM
  2. Student Email Accounts
    By edsa in forum Windows
    Replies: 45
    Last Post: 23rd March 2009, 11:40 PM
  3. Block Student Laptops
    By karldenton in forum Windows
    Replies: 25
    Last Post: 3rd March 2009, 10:58 AM
  4. Student Email Addresses
    By kmount in forum How do you do....it?
    Replies: 17
    Last Post: 27th October 2008, 09:00 AM
  5. Student Email
    By andy in forum School ICT Policies
    Replies: 8
    Last Post: 4th July 2005, 09:14 AM

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •