Skip to content

GitLab

  • Menu
Projects Groups Snippets
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • G gitlabhq1
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 21
    • Issues 21
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 12
    • Merge requests 12
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Packages & Registries
    • Packages & Registries
    • Package Registry
    • Infrastructure Registry
  • Analytics
    • Analytics
    • CI/CD
    • Repository
    • Value stream
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • gpt
  • large_projects
  • gitlabhq1
  • Issues
  • #6834

Closed
Open
Created Apr 21, 2014 by Administrator@rootOwner

Can't send mail (try with smpt and sendmail method) on 6.7

Created by: zoic21

Hi,

I got a problem on send mail. I use gmail server with my own domain name. On console send mail is ok (I used ssmtp program and I test with command mail). On gitlab I just have this line : config.action_mailer.delivery_method = :sendmail And it doesn't work : worker process say timeout

So I tried with smtp method : config.action_mailer.delivery_method = :sendmail And on smtp_setting.rb :

To enable smtp email delivery for your GitLab instance do next:

#1 (closed). Rename this file to smtp_settings.rb #2 (closed). Edit settings inside this file #3 (closed). Restart GitLab instance

if Rails.env.production? Gitlab::Application.config.action_mailer.delivery_method = :smtp

ActionMailer::Base.smtp_settings = { address: "gmail.com", port: 465, user_name: "[email protected]", password: "_", domain: "domaine.fr", authentication: :plain, enable_starttls_auto: true } end

I restart gitlab and test but worker process say timeout again.

What I'am doing wrong ?

Thank in advance

Assignee
Assign to
Time tracking