Skip to main content

Enterprise Server 3.20 目前作为发布候选版本提供。

限制组织的电子邮件通知

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

谁可以使用此功能?

Organization owners can restrict email notifications for an organization.

在本文中

About email restrictions

When restricted email notifications are enabled in an organization, members can only use an email address associated with a verified or approved domain to receive email notifications about organization activity. For more information, see Verifying or approving a domain for your organization.

Outside collaborators are not subject to restrictions on email notifications for verified or approved domains. For more information about outside collaborators, see Roles in an organization.

If your organization is owned by an enterprise account, organization members will be able to receive notifications from any domains verified or approved for the enterprise account, in addition to any domains verified or approved for the organization. For more information, see Verifying or approving a domain for your enterprise.

Restricting email notifications

Before you can restrict email notifications for your organization, you must verify or approve at least one domain for the organization, or an enterprise owner must have verified or approved at least one domain for the enterprise account. For more information about verifying and approving domains for an organization, see Verifying or approving a domain for your organization.

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 organization if they've added an email address belonging to a verified or approved domain to their account settings.

  1. In the upper-right corner of GitHub, click your profile picture, then click Organizations.
  2. Next to the organization, click Settings.
  3. In the "Security" section of the sidebar, click Verified and approved domains.
  4. Under "Notification preferences", select Restrict email notifications to only approved or verified domains.
  5. Click Save.