iCloud SMTP Settings for GitLab

The GitLab SMTP settings page does not provide example configuration for working settings for iCloud email address.

The configure below is derived from the SMTP configuration provided on Apple’s iCloud Mail server settings for other email client apps page.

  gitlab_rails['smtp_enable'] = true
  gitlab_rails['smtp_address'] = "smtp.mail.me.com"
  gitlab_rails['smtp_port'] = 587
  gitlab_rails['smtp_user_name'] = "[email protected]"
  gitlab_rails['smtp_password'] = "YOUR_APP_SPECIFIC_PASSWORD"
  gitlab_rails['smtp_domain'] = "smtp.mail.me.com"
  gitlab_rails['smtp_authentication'] = "login"
  gitlab_rails['smtp_enable_starttls_auto'] = true
  gitlab_rails['smtp_tls'] = false
  gitlab_rails['gitlab_email_from'] = '[email protected]'
  gitlab_rails['gitlab_email_reply_to'] = '[email protected]'
  gitlab_rails['smtp_openssl_verify_mode'] = 'none'

Singh Systems Inc successfully tested the above configuration for SMTP for the outgoing iCloud Mail server on GitLab version GitLab version 5.4.2-ee.

Let us know if this article help you out.

Leave a Comment