Gitlab does not send authentication mail

Asked 1 years ago, Updated 1 years ago, 105 views

I'm going to install and use the gitlab CE version on AWS EC2, so

The mail for account authentication is not being sent.

First of all, I tested the mail transfer through telnet to postfix, but considering that it comes in well to my email address,

There is no problem with the postfix itself

I think gitlab has a wrong email setting, but I don't know how to set it.

I changed it to gmail settings through search and sent it, but Google blocked it because it was a suspicious login.

I want to send it by postfix installed in ec2, but I don't know what to do.

gitlab postfix

2022-09-22 21:44

1 Answers

If you are using EC2, I think you should use the Amazon SES service to use mail. (Note )

If you're already using it, it's in the SMTP on localhost section of the Document that you only need to do the following in the mail section of the gitlab settings.

gitlab_rails['smtp_enable'] = true

And check out gitlab's Troubleshooting. It might not work because there is no FROM setting. If you are sending from localhost, please specify the sender's address as follows.

gitlab_rails['gitlab_email_from'] = '[email protected]'

If it doesn't continue, the problem is... I think it's a matter of setting the postfix. Check if the TLS and relay settings of postfix are correct.


2022-09-22 21:44

If you have any answers or tips


© 2024 OneMinuteCode. All rights reserved.