[英]Putting a stop to fake emails from our leadership team… how do I deploy my script?
Tired of my G Suite users falling for emails "from" our CEO and other leadership team members, and the [EXTERNAL] that I appended to the subject of all external emails has been great but not helping everyone.厌倦了我的 G Suite 用户喜欢“来自”我们的 CEO 和其他领导团队成员的电子邮件,而我在所有外部电子邮件的主题中附加的 [EXTERNAL] 非常棒,但并没有帮助所有人。
I have written a Google Apps Script that compares the "from" name of the sender to that user's company email and personal email, and then if there is not a match, it forwards the email to IT (to confirm/let the user know if it was somehow legit) and then deletes it to the user's trash.我编写了一个 Google Apps 脚本,将发件人的“发件人”名称与该用户的公司 email 和个人 email 进行比较,然后如果不匹配,它会将 Z0C83F57C786A0B4A39IFAB23它在某种程度上是合法的),然后将其删除到用户的垃圾箱中。
I've got a trigger to setup so it runs every minute.我有一个触发器来设置,所以它每分钟运行一次。 It's only looking 3 mins back in emails so it doesn't waste resources/runs but also doesn't miss if it has an error for some reason.
它只在电子邮件中查看 3 分钟,因此它不会浪费资源/运行,而且如果由于某种原因出现错误也不会错过。 Have individually set up for a couple users as a test and myself and it appears to be working great.
已经为几个用户单独设置了一个测试和我自己,它似乎工作得很好。
My question after not finding a use case in the Google Add-Ons examples that really fit this use case...在 Google Add-Ons 示例中没有找到真正适合此用例的用例后,我的问题......
How do I best deploy this to all of my domain users such that it uses the existing 1 min trigger, requires no user interaction - except maybe to install, and updates as I update the script??我如何最好地将它部署到我的所有域用户,以便它使用现有的 1 分钟触发器,不需要用户交互 - 除了可能安装,并在我更新脚本时更新? I'm reading stuff about cards and icons and triggers for opening an email and such but none of this is what I'm looking for.
我正在阅读有关卡片和图标以及打开 email 等触发器的内容,但这些都不是我想要的。 I want it running in the background at all times to where if the user only looks at email on their phone or Mac Mail/Outlook that the script is still catching the phony emails.
我希望它始终在后台运行,如果用户只在他们的手机或 Mac Mail/Outlook 上查看 email,那么脚本仍在捕获虚假电子邮件。
Has anyone done anything like this.有没有人做过这样的事情。 Google Support people, is there a page I've missed in my search for answers?
Google 支持人员,我在搜索答案时是否遗漏了某个页面?
Depending on your g suite account...why not enable "Advanced phishing and malware protection".取决于您的 g 套件帐户...为什么不启用“高级网络钓鱼和恶意软件防护”。 Specifically the section on spoofing as you can choose a giant warning banner, send to spam or quarantine it.
特别是关于欺骗的部分,因为您可以选择一个巨大的警告横幅,发送到垃圾邮件或隔离它。 If you only want execs then you could do a check in Gmail settings for unauthenticated email vs a whitelist and take action that way also.
如果您只想要高管,那么您可以在 Gmail 设置中检查未经身份验证的 email 与白名单,并以这种方式采取行动。
https://support.google.com/a/answer/7490901?hl=en#spoofing-authentication-safety https://support.google.com/a/answer/7490901?hl=en#spoofing-authentication-safety
I figure out that the question here is that you want to develop an add-on over your whole domain.我发现这里的问题是您想在整个域上开发一个附加组件。 If my assumption is correct, then you can opt in to follow these steps on how to install G Suite Marketplace apps in your domain .
如果我的假设是正确的,那么您可以选择按照这些步骤在您的域中安装 G Suite Marketplace 应用程序。 If you want to test the reach of this operation, you could develop an reviewed and trivial app like Cats and introduce it to your domain.
如果您想测试此操作的覆盖范围,您可以开发一个经过审核且简单的应用程序,例如Cats并将其引入您的域。 While developing your add-on, please be aware of the best practices .
在开发您的插件时,请注意最佳实践。 After the developing process you can publish it to G Suite Marketplace .
在开发过程之后,您可以将其发布到 G Suite Marketplace 。 Keep in mind that you could add this add-on to your domain even if it's published as internal.
请记住,即使它是作为内部发布的,您也可以将此加载项添加到您的域中。
After reading your comments I get that you want to use this add-on even if users aren't online.阅读您的评论后,我知道即使用户不在线,您也想使用此插件。 In that case you could activate domain wide delegation of authority over your domain and use service accounts to control G Suite API interactions .
在这种情况下,您可以在您的域上激活域范围的授权并使用服务帐户来控制G Suite API 交互。 To run this script at every minute you can use cron , but please be mindful of Gmail API quotas .
要每分钟运行此脚本,您可以使用cron ,但请注意Gmail API 配额。
Along with the former, you can reach G Suite support and they'll better assist you with preventing phishing forces.除了前者,您还可以获得G Suite 支持,他们会更好地帮助您防止网络钓鱼攻击。 Please, ask me any question to better clarify myself.
请问我任何问题以更好地澄清自己。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.