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
  • #2565

Closed
Open
Created Jan 11, 2013 by Administrator@rootOwner

Can not send emails via remote email server

Created by: airekans

Hi, all.

I've installed GitLab 4.0 on CentOS 6.2 successfully. But I cannot setup email notifier properly with remote email server. I run GitLab in production mode.

Suppose that IP of the mail server is 192.168.1.18, the port is 25, username is "testuser" and password is ""(empty), I add the following lines to the config/environments/production.rb:

# config.action_mailer.delivery_method = :sendmail
config.action_mailer.delivery_method = :smtp
config.action_mailer.smtp_settings = {
    :address => "192.168.1.18",
    :port => 25,
    :user_name => "testuser",
    :password => "",
    :authentication => :plain
}

But with these lines, emails still cannot be sent. I use tcpdump to check packages to port 25, and no package is captured. And I cannot find any log in log/*.

Is there anything I am missing? Please tell me where I can find the log for the email and how I can fix this.

Assignee
Assign to
Time tracking