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

Closed
Open
Created Sep 29, 2012 by Administrator@rootOwner

Email from-adress and hostnames in email links

Created by: asperling

... seem to be not configurable. The from adress won't change from notify@localhost and the latter is still http://localhost/path no matter what I do.

The former causes a lot of "Sender address rejected: need fully-qualified address." errors.

I'm on the stable branch, followed the installation instructions very precisely (on Debian Squeeze), except that I'm running exim4 instead of postfix and tried the following:

  • Appended
  config.action_mailer.default_url_options = {
    :host => 'mydomain.com',
  } 

to config/production.rb

  • Set the following in gitlab.yml
  web:
    host: mydomain.com
    port: 88
    https: false

  email:
    from: noreply@mydomain.com
    host: ucblack.com

But still email from adress sticks to notify@localhost and the links to projects for example looking like http://locahost/project. I restarted nginx and gitlab every time I did some changes. Another problem is, don't know if it's relevant, there are no emails sent, when there is a new commit (like in an other issue) and I get an ActiveRecord::RecordNotFound error that says Couldn't find UsersProject with id=5, stated in another issue as well. But thought to solve that afterwards.

Maybe it helps to switch from stable to master? Do I need to change the database when doing so?

I'm sorry to bother you and I know there are lots of related issues. I've read them all but it didn't help the case. Maybe I'm missing something?

Thanks in advance ~ Achim

PS: There are no errors when running the gitlab:app:status Rake task

Assignee
Assign to
Time tracking