Skip to content

GitLab

  • Menu
    • Projects Groups Snippets
      Help
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
  • #4050

Closed
Open
Created 12 years ago by Administrator@rootOwner
  • New issue

  • Report abuse

  • New issue

  • Report abuse

Separate email config from production.rb

Closed

Separate email config from production.rb

Created by: mcfedr

It would make upgrading much easier if config for email could be done in gitlab.yml or another file even. Currently its done in production.rb and often when upgrading this file has been changed, I have to reset the file, and then put in my changes again.

Linked issues
...

    Related merge requests

    • Administrator
      Administrator @root · 12 years ago
      Owner

      Created by: djuretic

      I've had the same problem, I ended up creating a initializer file in gitlab/config/initializers/ similar to this:

      ActionMailer::Base.delivery_method = :smtp
      ActionMailer::Base.smtp_settings = {
       :address               => "smtp.example.com",
       :port => 587,
       :domain                => "mydomain.com",
       :user_name             => "mailbox_user",
       :password              => "mailbox_password",
       :authentication       => 'plain',
       :enable_starttls_auto => true
      }

      By Administrator on 2013-05-24T13:48:33 (imported from GitLab project)

    • Administrator
      Administrator @root · 12 years ago
      Owner

      Created by: Razer6

      Hey @mcfedr

      Thanks for your interest in GitLab ❤

      We don't use the Github issue tracker for support requests and configuration questions. Please use the support forum for this purpose.

      Have a look at the contribution guidelines for more information.

      By Administrator on 2013-06-08T21:30:16 (imported from GitLab project)

    • Administrator
      Administrator @root · 12 years ago
      Owner

      Created by: mcfedr

      Sure, I see this as more of a bug that a support request.

      By Administrator on 2013-06-08T21:37:33 (imported from GitLab project)

    • Administrator
      Administrator @root · 12 years ago
      Owner

      Created by: Razer6

      Well it's more like a feature request isn't? As mentioned in the contributing guidelines we have a dedicated place for this. Feel free to create one here

      By Administrator on 2013-06-08T21:42:52 (imported from GitLab project)

    • You're only seeing other activity in the feed. To add a comment, switch to one of the following options.
    Please register or sign in to reply
    0 Assignees
    Assign to
    Milestone
    No milestone
    None
    None
    Time tracking
    Due date
    None
    None
    2
    Labels
    Email Feature request
    Assign labels
    • No matching results
    • Manage project labels
    Confidentiality
    Not confidential

    You are going to turn on confidentiality. Only team members with at least Reporter access will be able to see and leave comments on the issue.

    Lock issue
    Unlocked
    participants
    Reference:

    Menu

    Projects Groups Snippets
    Help