V
V
VITYA-XY12019-12-18 20:11:52
SMTP
VITYA-XY1, 2019-12-18 20:11:52

Where is the SMTP settings in the default installation of Gitlab-ce, what is the default mailer?

Hello
I noticed that after the gitlab-ce setup on centos7, mail does not work out of the box. In the same gitlab-ee on centos7, there are no such problems. Where to dig to me while it is absolutely not clear. Does the same Gitlab have a clear dock for installed components:
( It's clear with the architecture )
1) Where are they set up? (maybe there is a dock for separately installed components, or is it better to navigate the auto-installation script)
2) Can I choose them?
3) Where do they store configs?
4) Why are all configs documented in the /etc/gitlab/gitlab.rb file and where can I see default configs?
5) What is the default mail server? Outbound Email(easyDNS)?
Maybe I ask a lot of questions, but let's not send it to Google and off the docks, this is too obvious a case that I have already tried to complete and have not mastered. Please answer briefly (if you want, I will be grateful for a broad answer) and tell (without sending it anywhere).
Sincerely.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
R
rionnagel, 2019-12-19
@rionnagel

/etc/gitlab/gitlab.rb is EVERYTHING. Mail is normally configured from there. After that it works great. At least for me.
After the changes, you need to do gitlab-ctl reconfigure and gitlab-ctl restart
Manually configure the config from opt, etc. not worth it - gitlab.rb will overwrite everything on the first call.
On the official site in the documentation, most of the things are very well described.
The difference between ee and ce versions is traditional for any such software.

V
Vladimir, 2019-12-18
@MechanID

I can only answer point 5:
By default, the entire OS uses the local postfix mail service, which out of the box will most likely try to send mail on behalf of [email protected] and hardly anyone will accept it. Checking this version is easy - see if there are any errors in /var/log/maillog

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question