Gitea
sudo vim /etc/gitea/app.ini
[mailer]
ENABLED = true
HOST = smtp.office365.com:587
SMTP_PORT = 587
SMTP_ADDR = smtp.office365.com
MAILER_TYPE = smtp
FROM = [email protected]
USER = [email protected]
PASSWD = `Password@1234`
IS_TLS_ENABLED = true # Try false if failed.
GitLab
gitlab_rails['smtp_enable'] = true
gitlab_rails['smtp_address'] = "smtp.office365.com"
gitlab_rails['smtp_port'] = 587
gitlab_rails['smtp_user_name'] = "[email protected]"
gitlab_rails['smtp_password'] = "Password@1234"
gitlab_rails['smtp_domain'] = "aiursoft.com"
gitlab_rails['smtp_authentication'] = "login"
gitlab_rails['smtp_enable_starttls_auto'] = true
gitlab_rails['smtp_tls'] = true # Try false if failed.
gitlab_rails['smtp_pool'] = true
gitlab_rails['smtp_openssl_verify_mode'] = 'peer'
gitlab_rails['gitlab_email_enabled'] = true
gitlab_rails['gitlab_email_from'] = '[email protected]'
gitlab_rails['gitlab_email_display_name'] = 'Aiursoft GitLab Service'
gitlab_rails['gitlab_email_reply_to'] = '[email protected]'
Mastodon
sudo vim /home/mastodon/live/.env.production
SMTP_SERVER=smtp.office365.com
SMTP_PORT=587
[email protected]
SMTP_PASSWORD='Password@1234'
SMTP_AUTH_METHOD=login
SMTP_OPENSSL_VERIFY_MODE=peer
SMTP_ENABLE_STARTTLS=auto
[email protected]
Nextcloud
First open the admin settings at: https://yourinstance/index.php/settings/admin

You can try to disable TLS if it keeps failing.
Azure DevOps

Comments (0)
No comments yet. Be the first to leave one!