Project

General

Profile

Feature #822

Allow a Customizable "Reply" Address in Email Configuration

Added by Matt Mencel about 8 years ago. Updated almost 8 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
E-Mail
Target version:
Difficulty:
Triaged:
No
Bugzilla link:
Pull request:
Team Backlog:
Fixed in Releases:
Found in Releases:

Description

At my site, it is required that any smtp connections must use a valid "reply" address to send through our servers.

Foreman has this hard-coded in the app/models/host_mailer.rb file in two places...

from "Foreman-noreply@" + Facter.domain

...and so by default is not allowed to send mail. Our smtp server rejects it.

I've fixed it for now for our site by changing those lines in the model, but it's not safe from upgrades. I would like this to be customizable in the config/email.yaml file if possible so that we could set it without having to edit the host_mailer.rb file directly.

Thanks,
Matt

Associated revisions

Revision 1f5eea56 (diff)
Added by Ohad Levy almost 8 years ago

fixes #822 - Allow a Customizable "Reply" Address in Email Configuration

History

#1 Updated by Ohad Levy almost 8 years ago

  • Assignee set to Ohad Levy
  • Target version set to 0.4

#2 Updated by Ohad Levy almost 8 years ago

  • Status changed from New to Closed
  • % Done changed from 0 to 100

Also available in: Atom PDF