If a user send an inappropriate email to a loads of people or get stung by some sort of email exploit you can quickly delete the email from all of the recipients using a GAM command. Step 1 - get the email header Go into Google Vault and search for the offending user or someone known to have got the message. Click show details and grab the email ID. This will be a long string of characters followed by @mail.gmail.com Step 2 - find out who has the email Go into Google Vault and find the original message sent by the offending user. Look at the details to see who got it. Copy the list and dump it into a spreadsheet. Clean up to just a list of emails with a column header 'mail'. Save as a csv file. Step 3 - delete messages with GAM Put your CSV file in your GAM folder - this e.g. assumes its called mail.csv Run: gam csv mail.csv gam user ~mail delete messages query rfc822msgid: MESSAGEIDHERE doit The alternative nuke option is: gam all users delete messages query rf...
Sorry for the somewhat unrelated comment, but I notice you have the SIMS icon on your app bar? Is this just using RDP/RDS?? Thanks!
ReplyDeleteYes - custom ChromeWeb Store app that points to our html5 rdp server - just ripped off the SIMS logo!
DeleteNice! Out of interest, how do you authenticate that? Are you still using an onsite AD?? We have multiple ADs accross our schools still so it makes this difficult!
DeleteLocal AD. But we are in the process of ditching SIMS - so it will become redundant soon.
DeleteI can't lie, I'm a little jealous you're dropping SIMS... I wish we would do the same! Thanks for the info!
Delete