Hello all,
since March 2, emails are no longer sent in Gitlab.
The settings were entered into gitlab.rb according to the support page and worked until March 2.
No changes were made to the Gitlab server, nor to Microsoft 365:
gitlab_rails[‘smtp_enable’] = true
gitlab_rails[‘smtp_address’] = “smtp.office365.com”
gitlab_rails[‘smtp_port’] = 587
gitlab_rails[‘smtp_user_name’] = “mail”
gitlab_rails[‘smtp_password’] = “pw”
gitlab_rails[‘smtp_domain’] = “domain”
gitlab_rails[‘smtp_authentication’] = “login”
gitlab_rails[‘smtp_enable_starttls_auto’] = true
gitlab_rails[‘smtp_openssl_verify_mode’] = ‘peer’
gitlab_rails[‘gitlab_email_from’] = ‘mail’
gitlab_rails[‘gitlab_email_reply_to’] = ‘noreply@xxx’
When I send a test mail I get the following error message:
:SMTPAuthenticationError (535 5.7.139 Authentication unsuccessful, the request did not meet the criteria to be authenticated successfully. Contact your administrator. [FR2P281CA0061.DEUP281.PROD.OUTLOOK.COM 2023-03-14T13:27:16.409Z 08DB23F27AE3EB90])
Multifactor authentication has been disabled for the user. Login to office.com is possible with the user. I can also send and receive mails via Outlook with the user.
But this does not work via Gitlab.
Can you please help me, I am stuck here?