Skip to main content

限制企业的电子邮件通知

您可以通过限制成员可以接收有关企业所属组织活动的电子邮件通知的域,防止企业信息泄漏到个人电子邮件帐户。

谁可以使用此功能?

Enterprise owners can restrict email notifications for an enterprise.

通过 GitHub Enterprise Cloud 和 GitHub Enterprise Server 可以将电子邮件通知限制到已批准或已验证的域。 有关详细信息,请参阅“GitHub 的计划”。

About email restrictions for your enterprise

When you restrict email notifications, enterprise members can only use an email address in a verified or approved domain to receive email notifications about activity in organizations owned by your enterprise.

注意

The ability to approve a domain not owned by your organization or enterprise is currently in beta and subject to change.

The domains can be inherited from the enterprise or configured for the specific organization. For more information, see Verifying or approving a domain for your enterprise and Restricting email notifications for your organization.

If email restrictions are enabled for an enterprise, organization owners cannot disable email restrictions for any organization owned by the enterprise. If changes occur that result in an organization having no verified or approved domains, either inherited from an enterprise that owns the organization or for the specific organization, email restrictions will be disabled for the organization.

Restricting email notifications for your enterprise

Before you can restrict email notifications for your enterprise, you must verify or approve at least one domain for the enterprise.

Users will not be notified when you enable email restrictions. It is your responsibility to inform users that, in the future, they will only receive email notifications related to your enterprise if they've added an email address belonging to a verified or approved domain to their account settings.

  1. In the top-right corner of GitHub Enterprise Server, click your profile picture, then click Enterprise settings.
  2. On the left side of the page, in the enterprise account sidebar, click Settings.
  3. Under "Settings", click Verified & approved domains.
  4. Under "Notification preferences", select Restrict email notifications to only approved or verified domains.
  5. Click Save.