debian-mirror-gitlab/doc/user/admin_area/settings/email.md

58 lines
2.4 KiB
Markdown
Raw Normal View History

2019-09-04 21:01:54 +05:30
---
type: reference
---
2019-12-04 20:38:33 +05:30
# Email **(CORE ONLY)**
2018-05-09 12:01:36 +05:30
2019-09-04 21:01:54 +05:30
You can customize some of the content in emails sent from your GitLab instance.
2018-05-09 12:01:36 +05:30
## Custom logo
2019-12-26 22:10:19 +05:30
The logo in the header of some emails can be customized, see the [logo customization section](../appearance.md#navigation-bar).
2018-12-13 13:39:08 +05:30
2019-09-30 21:07:59 +05:30
## Custom additional text **(PREMIUM ONLY)**
2019-07-31 22:56:46 +05:30
2019-09-04 21:01:54 +05:30
> [Introduced][ee-5031] in [GitLab Premium][eep] 10.7.
2019-07-31 22:56:46 +05:30
The additional text will appear at the bottom of any email and can be used for
legal/auditing/compliance reasons.
2019-10-12 21:52:04 +05:30
1. Go to **Admin Area > Settings > Preferences** (`/admin/application_settings/preferences`).
1. Expand the **Email** section.
1. Enter your text in the **Additional text** field.
1. Click **Save**.
2019-07-31 22:56:46 +05:30
2020-03-09 13:42:32 +05:30
[ee-5031]: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/5031
2019-07-31 22:56:46 +05:30
[eep]: https://about.gitlab.com/pricing/
2018-12-13 13:39:08 +05:30
## Custom hostname for private commit emails
2020-03-09 13:42:32 +05:30
> [Introduced](https://gitlab.com/gitlab-org/gitlab-foss/-/merge_requests/22560) in GitLab 11.5.
2018-12-13 13:39:08 +05:30
2019-09-04 21:01:54 +05:30
This configuration option sets the email hostname for [private commit emails](../../profile/index.md#private-commit-email).
By default it is set to `users.noreply.YOUR_CONFIGURED_HOSTNAME`.
2018-12-13 13:39:08 +05:30
In order to change this option:
2019-10-12 21:52:04 +05:30
1. Go to **Admin Area > Settings > Preferences** (`/admin/application_settings/preferences`).
1. Expand the **Email** section.
1. Enter the desire hostname in the **Custom hostname (for private commit emails)** field.
1. Click **Save changes**.
2018-12-13 13:39:08 +05:30
2019-10-12 21:52:04 +05:30
NOTE: **Note:**
Once the hostname gets configured, every private commit email using the previous hostname, will not get
2019-09-04 21:01:54 +05:30
recognized by GitLab. This can directly conflict with certain [Push rules](../../../push_rules/push_rules.md) such as
2018-12-13 13:39:08 +05:30
`Check whether author is a GitLab user` and `Check whether committer is the current authenticated user`.
2019-09-04 21:01:54 +05:30
<!-- ## Troubleshooting
Include any troubleshooting steps that you can foresee. If you know beforehand what issues
one might have when setting this up, or when something is changed, or on upgrading, it's
important to describe those, too. Think of things that may go wrong and include them here.
This is important to minimize requests for support, and to avoid doc comments with
questions that you know someone might ask.
Each scenario can be a third-level heading, e.g. `### Getting error message X`.
If you have none to add when creating a doc, leave this section in place
2019-10-12 21:52:04 +05:30
but commented out to help encourage others to add to it in the future. -->